Thread: Good C compilers for free?

  1. #16
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Quote Originally Posted by eth0
    No this is not true. The MSVC compiler supports both C and C++.
    It is the best C compiler available for Windows systems able to produce efficient binaries is blistering time.
    It doesn't support c99. Accordingly, it cannot be accurately described as 'the best C compiler available for Windows'.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  2. #17
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Okay, thanks. I'm currently trying to download dev-cpp-4.9.9.2

    That should get me started at least, right?
    Yes, Dev-C++ is a good compiler, it will compile most C programs. I use Dev-C++ most of the time.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #18
    Registered User ortegac's Avatar
    Join Date
    Mar 2006
    Location
    In front of the computer screen
    Posts
    15

    Hey eth0 i need your help? can some one help me out!

    I have Visual C++ 2005 Express Edition.

    Iam a new in this I currently use Visual studio 6 but I like this new version, I want to know how to compile my code in this new version. Eth0 you said that it can support to compile .c programs well I don’t know how. I try it once, but I couldn’t find so I gave up.

    Now you are saying this so. I just finish installing it again and I am going to try this one more time.

    Ohh it also ask me if I wanted to install the MSDN and the SQL something, well I install it too, I don’t think I really need that but maybe in the future I will.

    Would you give me any advice, in how to compile the .c files?

    Thanks for your help and support

    Caleb

  4. #19
    Registered User eth0's Avatar
    Join Date
    Dec 2003
    Posts
    164
    In exactly the same way as you build c++ files. Just save your files as .c instead of .cpp
    The MSVC compiler (cl.exe), is both a C and C++ compiler. It will build according to file extension.

    IMO, the MSVC C compiler generates better binaries than the C++. It's the same compiler which comes with the DDK, of which 99% are written in C.

    You can mix C and C++ files within the same project with no problems.
    Open source isn't a matter of life or death......
    .......its much more important than that!!


    SuSE Linux - GCC 3.4.2
    XP Pro - Visual Studio 2005 TS, MinGW 3.4.2

  5. #20
    Registered User ortegac's Avatar
    Join Date
    Mar 2006
    Location
    In front of the computer screen
    Posts
    15

    Here is more questions? thanks for your help Eth0

    Hi Eth0,

    But how do I compile & build my .c file? I don’t really like it to do it with the visual studio command prompt 2005. I typed CL /c FIRST.C and it works. But I just wanted to build my .c file like I use to. With visual 6.0 C++ (ctr+F7) to compile and (CTR+F5) to build is pretty simple like that. I really like how visual c++ 2005 express edition looks but it doesn’t give me what I want.

    I did go to view and put the build tool bar. But it takes forever to build and I don’t think is working. All I want to do Is press compile and build. And have the .c file running.

    Thanks for your help and collaboration. I know you don’t get paid for this but is extremely helpful maybe one day you might work for Microsoft.

    Thanks

    Caleb

  6. #21
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. scientific calculators with compilers?
    By Terrance in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 10-06-2003, 08:29 PM
  2. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 02:53 PM
  3. Opinion on GOOD digicam
    By Shadow in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-22-2003, 05:37 PM
  4. Question about atheists
    By gcn_zelda in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 08-11-2003, 11:50 AM
  5. C compilers for QNX
    By Shiro in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 02-28-2002, 04:12 PM