Help Me Find a Tutorial

Hi,

Can you help me find the tutorial, Google recommends in its C++ course (https://developers.google.com/edu/c++/next-steps )?

The link to the tutorial is: http://www.intap.net/~drw/cpp/

I've tried entering the URL in WayBackMachine. But the index page is only as far as it would take me. (http://web.archive.org/web/20120420182701/http://www.intap.net/~drw/cpp)
Last edited on
The page you linked to has enough errors to not want to look at something they reference (there's even a "void main"!). But if you really want to, enter "www.intap.net/~drw/cpp/index.htm" into archive.org (and go back to year 2011 or so) to see that incomplete Turbo C++ tutorial in all its glory. (he does actually say use gcc, but his first example won't compile with it because of iostream.h)
Last edited on
The tutorial here on this site: http://www.cplusplus.com/doc/tutorial/
Learn C++: http://www.learncpp.com/

Those two alone are better than the one you linked to. For Windows there is Code::Blocks IDE that comes with the MingW compiler or MSVC++. For Linux distros it is GCC.

Code::Blocks: http://codeblocks.org/
MSVC++: https://www.visualstudio.com/
Thank you, Cubbi and BHX!

@ Cubbi: I read your biography on this website. It seems you are not enamoured of Google's C++ Style. Just wanted to share with you that my primary coursebook is Bjarne Stroustrup's Programming and Practices with C++, not Google's course.

@ BHX: I'm on Linux and use gcc and nano. I hope it'll help me develop good habits. But don't know for sure.
Hi,

Try to get hold of the clang compiler from llvm, it's better than gcc in a lot of ways :+) The options for it are generally the same as g++. Hopefully you can use it with your IDE.

http://llvm.org/

Some other hopefully useful stuff:

Compiler warnings:
http://www.cplusplus.com/forum/general/183731/#msg899203

Lots of really good info here, written by Bjarne Stroustrup and Herb Sutter:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines.html

Good Luck !!

@BHX Good to see you are back, it's been awhile :+)
@verdastelo: I don't think good habits are dependent on the compiler or editor (though it does help to have an up-to-date compiler to be compatible with C++11 and C++14 [or whatever standard it will be up to for future readers]), rather I think they are dependent on who you are learning from. You can't go wrong learning from books written by Bjarne Stoustrup himself. Same with Scott Meyers and Herb Sutter.
Last edited on
@ TheIdeasMan: Very interesting stuff. I hope I can learn to use LLVM before the end of this year. Thank you for the Github book(?).

@ BHX: I looked at Meyers' and Shutter's books. They seem to be for advanced learners. Hope to read them in a few months' time. Thank you for the suggestions.
I hope I can learn to use LLVM before the end of this year.


No worries:+) But not a lot needed to learn to use clang++. Just install it, then literally substitute clang++ instead of g++ if compiling in the shell. In your IDE, set up the build to use clang instead of gcc -shouldn't be too hard.

The clang++ compiler has some extra options compared to g++, but it is how the compiler works internally that is different. clang++ does do nicer messages. llvm does have a bunch of tools, but that is probably advanced except for the llvm-format, perhaps.

Good Luck !!
Topic archived. No new replies allowed.