C++ Tutorials?

Started by
4 comments, last by Serapth 11 years, 5 months ago
So I'm just starting to learn C++ and I was just inquiring about some good C++ tutorials? Preferably ones that are most up to date. I've been watching a beginner video series hosted by Xoax, and its pretty good about covering essentials but I'm wanting a little more and I just can't seem to find any good ones so far from my google searches. Would be much appreciated!

Thanks in advanced guys! (In case I dont stop by for a while) happy.png
Advertisement
http://www.cplusplus.com/
Is a pretty good starting point with a decent tutorial to get you going. Also very useful as a reference for later on.
I normally recommend the book "C++ Primer" (5th edition), but if you're after an online tutorial learncpp.com seems pretty good. You could also try Thinking In C++, which is available free online but hasn't been updated to reflect C++11 features.

- Jason Astle-Adams

there are many c and c++ tutorias here http://www.cprogramming.com/tutorial/c++-tutorial.html
my map aplications http://haritaaraci.com

there are many c and c++ tutorias here http://www.cprogramm... -tutorial.html
Cursory inspection shows those to be bad, "C with classes" tutorials. C way presented before C++ way, pointers and C library functions everywhere, iterators and algorithms not even mentioned.

Koenig's Accelerated C++ is the opposite, a really good book that teaches C++. It's a bit old, but still valid. C++11 just makes a few things easier.
Just to give you an idea of how different the approach is, Accelerated C++ only starts discussing arrays, pointers and dynamic memory allocation in chapter 10, around page 200. And how does it introduce these things?
"An array is a kind of container, similar to a vector but less powerful. A pointer is a kind of random-access iterator that is essential for accessing elements of arrays, and has other uses as well."
Note that the reader has already learned to use containers, iterators, classes and templates before this point! Chapter 11 walks the reader through the construction of a Vec container template, like a poor man's version of std::vector, as an example of a situation where dynamic memory allocation is actually necessary.
I am rather partial to my own ( see sig. ) Actually I suppose I need to think long term and realize that sig's change and web pages are forever... so see here.

This tutorial assumes you have minor C++ skills, know the basics like what a variable is, a for loop etc. Otherwise its a (currently) 10 part series that walks you through making a C++ game from scratch using SFML.

This topic is closed to new replies.

Advertisement