Forums

Full Version: hmmmm read the code...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
One of my students is struggling a bit with the book, mainly because she's a very inexperienced C++ coder and some things are a bit of a struggle..even so she's making steady progress.

But.

She's finding it a little hard to get started on the invaders project, mainly because she's typing in code which is being described as examples, rather than code you should actually enter.

I have to take some of the blame for not making it clear, especially in the early parts. The discussion is about arrays and vectors, and I describe ways to use arrays in code terms, but then go on to use a MyObjects vector.

So I should have been much clearer, not to type the code in until after we get past the explanation.

The key thing is to read the sections, absorb and digest what it says and then act on the conclusions, don't slavishly enter the code each time it is listed. 

I will make that clearer in a 2nd edition.