Send to a Friend

skorned's avatar

Best C++ compiler and tutorial/book?

Asked by skorned (97points) July 18th, 2009

I have had some experience with programming in the past with VB 2008 in Visual Studio. However, I’d like to learn a more powerful language, and due to some circumstances, have decided to work on C++.
I have Windows, Mac and Unix machines, so can someone suggest the best compiler for it? I just started with Hello World in Turbo C++ using the free online book ‘How to Think Like a Computer Scientist’.

However, there are 2 major problems. One, in another book I read, I realised that the syntax Turbo is using is old, not the new ANSI- C standard. I’m assuming corporates and the real world have adapted the new standards, so it would be best for me to adopt an ANSI-C compiler. I tried Visual C++ but found it very wierd, as if they had a completely different syntax altogether, with t_main instead of main and stuff. Examples I lifted directly from books refused to work in Visual Studio. Should they be working, or does Visual C++ use slightly different syntax? Anyhow, I’ve tried my hand with Visual C++, Turbo, and GCC in backtrack, but didn’t like any. Can someone point me to the best standards compliant widely used compiler/IDE?

And also a book or tutorial that has examples that would work in that compiler please?

And if this thread is a duplicate, I’m sorry, I searched but surprisingly couldn’t find anything like it. If I didn’t look hard enough, please help with a link to the thread?

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.