Game Development Community

Beginning C++ Game Programming

by Chris "Had Chris First" · in General Discussion · 05/26/2004 (10:24 am) · 6 replies

This is a book Im considering purchasing. It is published by the same company that published 3D Game Programming All in One. Can anyone give me a reason that this wouldnt be a good book to purchase?

#1
05/26/2004 (12:04 pm)
None of you know anything about this book?
#2
05/26/2004 (4:30 pm)
Well, I guess Im going to have to trust the publisher and buy it outright.
#3
05/26/2004 (5:42 pm)
Hi Chris,

I think this book has just been released, so there probably aren't a lot of people who've been through it, end to end.

I haven't read it either, but I've worked with the author in the past - he's a pretty sharp guy, and writes well, so it's likely that you'll get your money's worth.
#4
05/27/2004 (6:30 am)
Heh, that's funny, that exact book is sitting right next to me and I'm actually about 3/4 of the way through it right now.

So far it's good. Considering I don't have any experience with C++ it's been one of the better beginning C++ books I've read so far. Instead of just going through page after page of commands in C++ most of it actually has you working with code to make mini games. Then it goes through the code line by line telling you what each does.

The Chapters are:

1 - Types, Variables, and Standard I/O
2 - Truth, Branching and the Game Loop
3 - For Loops, Strings, and Arrays
4 - The Standard Template Library
5 - Functions
6 - References
7 - Pointers
8 - Classes
9 - Advanced Classes and Dynamic Memory
10 - Inheritance and Polymorphism

It's been taking me about an hour or two to get through a chapter, but I'm learning a good deal. While it's not as good for Torque-types as Ken's book, it's a great primer for starting C++ programming in games.

- Chris
#5
05/29/2004 (4:28 pm)
Cool, so would this be good for someone with little experience programming? Or would I need something else, it says it requires no programming knowledge at all.

Thanks, game developers.
#6
06/01/2004 (8:33 am)
I'm sure reading some other C++ books will help in the long run, but remember Torque is based on a C++. If you are not going to play with the engine itself, you'll probably be fine with Ken's book to start.

There's a lot of similarity between C++ and the scripting, but you can get by.