Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Top Posters

Who's Online (2)

Powered by Vanilla. Made with Bootstrap.
C Compiler
  • Hello everyone, i'm new to this site and i need some help. Can anyone post a good C compiler please?

    Thank you!
  • Sh3llc0d3
    Posts: 1,910
    GCC (linux)
    MinGW (windows)

    They Support C and C++, I also believe MinGW supports Fortran (not that you'll probably use that lol).
  • Ok thank you very much.
  • sangf
    Posts: 203
    said:


    Hello everyone, i'm new to this site and i need some help. Can anyone post a good C compiler please?

    Thank you!



    on windows you can use microsoft's compiler through visual studio (or pointlessly/preferentially through other ides) - compiles both c and c++. you can also use gcc through mingw/cygwin on windows, or directly in linux.

    assuming windows: visual studio express (c++) is available for free (although i'm not sure how it differs from the full package) here, and code::blocks is freely downloadable here which supports a wider range of c compilers including gcc which i mentioned. or if you prefer using the compiler directly you can check out mingw or cygwin

    edit: semtex beat me to it but meh D:
  • Sh3llc0d3
    Posts: 1,910
    No problem, there may be better ones. But those are C/C++ compilers I know that do a good enough job for me (coding in C++).
  • I downloaded MinGW and installed it but it's nowhere on my pc. Any ideas why?
  • Sh3llc0d3
    Posts: 1,910
    said:


    I downloaded MinGW and installed it but it's nowhere on my pc. Any ideas why?



    MinGW is installed by default to C:\MinGW I believe... what IDE are you using?
  • Yes this file is there. But from all of these files in there which is the compiler so i can start programming at C?
  • Xin
    Posts: 3,251
    Yeah i would say GCC for linux and codeblocks or devC++ for windows
    Xin
  • sangf
    Posts: 203
    said:


    Yes this file is there. But from all of these files in there which is the compiler so i can start programming at C?



    if you are completely new to c, i would recommend starting with an IDE (well i wouldn't, but that's another story). if you want to get up and running with c, might i suggest following this guide - note that it's c++ oriented, but it will be the same process with c, you just need to select c over c++ and maybe start here after you've set up, disregarding the c++ sample code for the code in that second url.
  • Sh3llc0d3
    Posts: 1,910
    said:


    Yes this file is there. But from all of these files in there which is the compiler so i can start programming at C?



    You need an IDE as well as the compiler to code in C, I think you've confused compiler with IDE
  • I think that too. So how can i start writting C?
  • Sh3llc0d3
    Posts: 1,910
    said:


    I think that too. So how can i start writting C?



    Look through the links in this post (by sangf) they are a great source for learning C/C++
    S-P
  • Ok i program on DEV C++ now. Thanks for your help!
  • Yea gcc is best complier for c