Thread: Good compiler for windows

  1. #1
    Registered User
    Join Date
    May 2008
    Location
    IR, Iran
    Posts
    103

    Talking Good compiler for windows

    can somebody suggest me a good Compiler for windows.
    I love free software

  2. #2
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    MinGW

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    http://cpwiki.sf.net/IDE
    I recommend Visual Studio.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by behzad_shabani
    can somebody suggest me a good Compiler for windows.
    I love free software
    Quote Originally Posted by C_ntua
    MinGW
    For a link: the MinGW port of gcc

    On the other hand, if by "free software" you mean "software available at zero price", then the MSVC9 compiler is available for free with Microsoft Visual Studio 2008 Express.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    HelpingYouHelpUsHelpUsAll
    Join Date
    Dec 2007
    Location
    In your nightmares
    Posts
    223
    Dev-C++, it works. I am now promoting that over lcc-Win32. Also Borland Bcc32 (now v5.5) is good if you are used to an old command line interface and with small plain C/C++ apps.
    long time no C; //seige
    You miss 100% of the people you don't C;
    Code:
    if (language != LANG_C && language != LANG_CPP)
        drown(language);

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by P4R4N01D View Post
    Dev-C++, it works. I am now promoting that over lcc-Win32. Also Borland Bcc32 (now v5.5) is good if you are used to an old command line interface and with small plain C/C++ apps.
    What's wrong with gcc for command-line work? As it comes with Dev-c++ (or Code::Blocks), it is probably the best standards compliant compiler, it has extensive warnings for "bad habits", and generates good code (certainly in comparison to the Borland C I remember - and I don't thin v5.5 is any more recent than the late 1990's, so it must be getting on for 10 years old - and as I've said before, that's probably a good age for Whiskey - compilers do not get better with aging [although I have never tried to keep my old compiler disks in a oak-cask]).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Visual Studio is an extensive all-in-one tool that comes with an IDE, compiler, debugger, and much more in one package.
    However, again, I would like to remind that the choice isn't ours to make, behzad_shabani, instead, you should try them out and pick the one you find to be the best.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Registered User
    Join Date
    May 2008
    Location
    IR, Iran
    Posts
    103
    I hate Microsoft

  9. #9
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    Quote Originally Posted by behzad_shabani View Post
    I hate Microsoft
    Is there a specific reason or just because it's "fashionable" to hate Microsoft?

    QuantumPete
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  10. #10
    Registered User
    Join Date
    May 2008
    Location
    IR, Iran
    Posts
    103
    Because they're thief!

  11. #11
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Probably doesn't stop him from using Windows.

  12. #12
    Registered User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    217
    http://www.codeblocks.org/ There is a package that comes with mingw, and the installation sets up both the free compiler and free IDE.

    What annoys me about the microsoft compiler is that it ALWAYS links the standard C++ libraries, even when im not using any of the standard C++ functions. Mingw only links them if you use them, so if i only use the string library, then it will only link the string library, instead of the both the string library and the big iostream library. You can dynamically link them, but then the program wont work on alot of computers.

  13. #13
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    What annoys me is that people just can't understand that it doesn't matter because the target needs the runtime installed and if you installed the runtime, it doesn't matter if you use C or C++.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    Registered User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    217
    Quote Originally Posted by Elysia View Post
    What annoys me is that people just can't understand that it doesn't matter because the target needs the runtime installed and if you installed the runtime, it doesn't matter if you use C or C++.
    Im talking about statically linking the runtime libraries.

  15. #15
    Registered User
    Join Date
    May 2008
    Location
    IR, Iran
    Posts
    103
    If this pc was mine, be sure that I would install Linux or if I had enough money I would buy a iMac

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Whats A Good Compiler?
    By katocan in forum C++ Programming
    Replies: 14
    Last Post: 06-28-2005, 11:00 AM
  2. Which Compiler should I use?
    By jjj93421 in forum Game Programming
    Replies: 17
    Last Post: 03-29-2004, 01:21 PM
  3. How good is the compiler of VS .NET Pro, really?
    By lightatdawn in forum Windows Programming
    Replies: 5
    Last Post: 03-23-2004, 02:58 PM
  4. Where can I get a good old Turbo C compiler?
    By sundeeptuteja in forum C Programming
    Replies: 2
    Last Post: 09-15-2002, 07:40 AM
  5. Good compiler for OpenGL (besides MS Visuial c++)
    By Crossbow in forum Game Programming
    Replies: 1
    Last Post: 12-20-2001, 04:44 PM