Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hmmmm read the code...
#1
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.
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 



Reply


Messages In This Thread
hmmmm read the code... - by Brian Beuken - 03-15-2019, 01:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)