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.
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....
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.
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.