I have been learning C and encountered errors with the compiler that I was using. I expect less issues with compilers for c++ and windows but was wondering which one is good to learn c++ with.
This is a discussion on What is a good c++ compiler for windows xp within the C++ Programming forums, part of the General Programming Boards category; I have been learning C and encountered errors with the compiler that I was using. I expect less issues with ...
I have been learning C and encountered errors with the compiler that I was using. I expect less issues with compilers for c++ and windows but was wondering which one is good to learn c++ with.
Assuming you want a free one on MS Windows.
Visual C++ 2008 Express Edition would be worth looking at.
Also look this....
If you go for Visual Studio, go for 2010. No good being stuck in the past.
GCC is another good compiler. Fits well with Code::Blocks.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
Thanks everyone
The issue isn't necessarily with the compilers, but the non-portable programming knowledge you've acquired.
There are a lot of "void main" types that will tell you all sorts of crap that will "work for them", and it may "work for you" as well (for a while). But sure enough, time will pass and you're using another compiler. All of a sudden, your "knowledge" appears to no longer work, and you blame the compiler.
Download ALL the compilers you know about, and practice coding with all of them at the same time. If your code works with multiple compilers, then you're probably on to something worth knowing in the longer term.
Implementation specific features are fine (and necessary), but you've got to know where the boundaries are!
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
Thanks
Thanks....There are a lot of "void main" types that will tell you all sorts of crap that will "work for them", and it may "work for you" as well (for a while). But sure enough, time will pass and you're using another compiler. All of a sudden, your "knowledge" appears to no longer work, and you blame the compiler.