Thread: Whats A Good Compiler?

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    21

    Question Whats A Good Compiler?

    Im using Dev-C++ 4.9.9.2, And iv followed alot of tutorials and ones what work for sure just wont because of stupid errors it outputs. Such as when you try to include files it says stupid errors. So can anyone tell me of a good compiler,
    Thanks For Anything.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    The best 3 compilers I know of ATM are:-

    Microsoft visual c++ 7.1(2003)
    Comeau c++
    Kai c++

    Get one of those you will be just fine.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    21
    is one of em free?, i know microsoft visual c++ aint.

  4. #4
    FOX
    Join Date
    May 2005
    Posts
    188
    GCC on UNIX.

    And there is a free version of Visual C++ somewhere on Microsoft's site.

  5. #5
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483
    Microsoft Visual C++ Beta 1 is free...

  6. #6

  7. #7
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    The commandline version of msvc7.1 is available for free on M$ site.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  8. #8
    Registered User
    Join Date
    Jun 2005
    Posts
    21
    have you got a link for commandline version of msvc7? coz i cant find it

  9. #9
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  10. #10
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    And iv followed alot of tutorials and ones what work for sure just wont because of stupid errors it outputs. Such as when you try to include files it says stupid errors.
    A better solution is to figure out what's wrong, perhaps by asking.
    After all, if it is a mistake on your part (or on the part of the tutorial author), then switching compilers wont make a difference.
    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

  11. #11
    Registered User
    Join Date
    Jun 2005
    Posts
    21
    Quote Originally Posted by laserlight
    A better solution is to figure out what's wrong, perhaps by asking.
    After all, if it is a mistake on your part (or on the part of the tutorial author), then switching compilers wont make a difference.
    no becuase its mostly
    Code:
    include "header.h"
    and Dev C++ is outputting it as an error for some stupid reason.

  12. #12
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by katocan
    no becuase its mostly
    Code:
    include "header.h"
    and Dev C++ is outputting it as an error for some stupid reason.
    What reason might that be?
    Posting your compile log often helps.
    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

  13. #13
    Registered User
    Join Date
    Jun 2005
    Posts
    21
    by any chance do you know which version of Dev C++ is best for compiling?

  14. #14
    Registered User
    Join Date
    Aug 2001
    Posts
    244
    if you want (C)oolness (Y)ou (G)et (W)here (I)nitially (N)one then download cygwin!!!
    its a unix like environment for windows, so you can use many unix tools like gcc

    afaik the intel c++ compiler is good, since it does a good job on inserting simd (mmx, sse, sse2) instructions.
    signature under construction

  15. #15
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Erm, the latest one
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Good Linux GUI Compiler
    By geek@02 in forum Linux Programming
    Replies: 5
    Last Post: 09-29-2005, 01:19 PM
  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