Its not as easy as simply reading a book, a lot of your learning comes from experimenting with the individual instructions in stages using a development environment.
For example, when you learn loops, try and write a simple tables program that asks what table, loops 12 times and uses the loop variable and what the user entered to calculate the result - programming is all about problem solving and having some patience :)
You may feel what your reading is pointless and very basic, for example the IF statement.. you may be doing simple things like
1 2
|
if(num > 10)
cout << "Number was higher than 10";
| |
which to most would think.. what use is this in the real world? - yet its learning you what IF statements do and why they are used. Those IF statements, Switch statements, Loops and all the other stuff in your book (although examples may be basic ) are used in today's high performance game engines - i.e. checking if a player collides with a wall, standing on the floor and more.
If you are getting to chapter 13 and feel like your not taking it in, then you shouldn't be at chapter 13. Move on up to the next chapter when you are clear on the previous chapter and have experimented with the information you have learned.
Anyway, from a personal point I stared learning programming at the age of 12, reading books, experimenting with what I learned (without using the book as a reference) and later writing simple programs, things like the tables program i said earlier, tic tac toe, checkers and so on - those were in a console and nothing special, yet the important thing here was I was learning what each command did and getting more experience along the way.
Learning C++ doesn't happen overnight, and certainly not in half a day like the books title states.