For you guys, what is the best C++ Compiler?
D.M.
-1
Newbie Poster
Recommended Answers
Jump to PostDepends on the operating system. MS-Windows I'd say its vc++ 2010. *nix it would be either g++ or Code::Blocks. For portability between the two operating systems (and I think MAC too) it would have to be Code::Blocks.
Jump to PostContext really matters here, best C++ compiler related to which view.
like compiler which builds fast, compiler which helps code to execute fast and etc..
So the viewpoint really does matter.
Jump to PostHere's my opinion on it (compilers, not IDE or build-systems):
Portability: GCC (GNU Compiler Collection)
Compilation Speed: BCB (Borland C++ Builder)
Code Optimization: ICC (Intel Compiler Collection)
Usefulness of compilation warnings and errors: GCC
Debugging capabilities: MSVC 2010 (Microsoft Visual C++ 2010)
Strict standard compliance: Comeau and ICC (using the EDG front-end)Overall, …
Jump to PostI have to go with MSVC++ 2010. I really love the debugger and if you mistype a variable name it will get a red underline letting you know it doesn't know what it is.
Jump to PostProjects can contain multiple *.cpp and *.c files, but only one of those files can contain either main() or WinMain() (depending on whether the project is a console or win32 project). If you are attempting to add multiple files each with their own main() then you are doing it wrong.
…
All 23 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Moschops
683
Practically a Master Poster
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
laosland
0
Newbie Poster
murnesty
0
Junior Poster in Training
tajendra
9
Junior Poster in Training
Ancient Dragon
commented:
agree
+17
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
tajendra
commented:
useful compilation
+2
Stefano Mtangoo
455
Senior Poster
jackmaverick1
-4
Junior Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Stefano Mtangoo
455
Senior Poster
NathanOliver
429
Veteran Poster
Featured Poster
UltimateKnight
3
Light Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
UltimateKnight
3
Light Poster
Moschops
683
Practically a Master Poster
Featured Poster
UltimateKnight
3
Light Poster
dospy
51
Junior Poster in Training
Moschops
683
Practically a Master Poster
Featured Poster
Moschops
683
Practically a Master Poster
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
UltimateKnight
3
Light Poster
pseudorandom21
166
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.