Forums
hmmmm read the code... - Printable Version

+- Forums (http://www.scratchpadgames.net/forums)
+-- Forum: Main Forums (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=1)
+--- Forum: Fundamentals Errata/Questions (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=3)
+--- Thread: hmmmm read the code... (/showthread.php?tid=371)



hmmmm read the code... - Brian Beuken - 03-15-2019

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.