Thanks in advanced guys! (In case I dont stop by for a while)
C++ Tutorials?
Started by RussDawgUnlimited, Nov 05 2012 08:31 PM
5 replies to this topic
#1 Members - Reputation: 121
Posted 05 November 2012 - 08:31 PM
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)
Thanks in advanced guys! (In case I dont stop by for a while)
Ad:
#2 Members - Reputation: 101
Posted 05 November 2012 - 11:09 PM
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.
Is a pretty good starting point with a decent tutorial to get you going. Also very useful as a reference for later on.
#3 Staff - Reputation: 8882
Posted 05 November 2012 - 11:10 PM
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.
From my blog: 20 ways to advertise your game | What next? Intermediate to advanced C++
How to make games WITHOUT programming | 4 reasons you aren't a successful indie developer
#4 Members - Reputation: 141
Posted 06 November 2012 - 02:45 AM
there are many c and c++ tutorias here http://www.cprogramming.com/tutorial/c++-tutorial.html
my map aplications http://haritaaraci.com
#5 Crossbones+ - Reputation: 1035
Posted 06 November 2012 - 04:48 AM
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.there are many c and c++ tutorias here http://www.cprogramm... -tutorial.html
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.
#6 Members - Reputation: 3279
Posted 06 November 2012 - 12:14 PM
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 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.






