Enjoy fast, FREE delivery, exclusive deals and award-winning movies & TV shows with Prime
Try Prime
and start saving today with Fast, FREE Delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Instant streaming of thousands of movies and TV episodes with Prime Video
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
$27.95$27.95
FREE delivery:
Monday, Aug 14
Payment
Secure transaction
Ships from
Amazon.com
Sold by
Amazon.com
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Buy used: $10.95
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Beginning C++ Through Game Programming 3rd Edition
There is a newer edition of this item:
$68.68
(532)
Only 1 left in stock - order soon.
Purchase options and add-ons
- ISBN-101435457420
- ISBN-13978-1435457423
- Edition3rd
- PublisherCengage Learning PTR
- Publication dateOctober 18, 2010
- LanguageEnglish
- Dimensions7.38 x 0.98 x 9.13 inches
- Print length432 pages
Frequently bought together

What do customers buy after viewing this item?
- Most purchased | Highest ratedin this set of products
The Art of Game Design: A Book of Lenses, Third EditionPaperback
Editorial Reviews
Amazon.com Review
New Features
From the Publisher
- Features 25% new material with coverage of all the latest technology.
- Written for the beginner, this book assumes no previous programming experience.
- Approaches learning C++ from a unique and fun perspective.
- Features helpful questions, extensive end-of-chapter exercises, and Web downloads to reinforce self-practice and learning.
About the Author
Product details
- Publisher : Cengage Learning PTR; 3rd edition (October 18, 2010)
- Language : English
- Paperback : 432 pages
- ISBN-10 : 1435457420
- ISBN-13 : 978-1435457423
- Item Weight : 1.89 pounds
- Dimensions : 7.38 x 0.98 x 9.13 inches
- Best Sellers Rank: #1,033,005 in Books (See Top 100 in Books)
- #259 in C++ Programming Language
- #647 in Game Programming
- #1,518 in Introductory & Beginning Programming
- Customer Reviews:
Important information
To report an issue with this product, click here.
About the author

Michael Dawson has worked as both a programmer and a computer game designer and producer. In addition to real world game industry experience, Mike earned his bachelor's degree in Computer Science from the University of Southern California. Currently, he teaches game programming in the Game Production Department of the Los Angeles Film School. Mike has also taught game programming to students through UCLA Extension and The Digital Media Academy at Stanford. He's the author of four books: Beginning C++ through Game Programming, Guide to Programming with Python, and C++ Projects: Programming with Text-Based Games. You can visit his website at www.programgames.com to learn more or to get support for any of his books.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
In other words, it's actually useful and has some great examples, not just of C++ code and how it works and how to use it, but every single example in the book has something to do with games. Just the section on random number generation alone is worth the price of admission, in my opinion, because it's a topic that is rarely covered in regular C++ programming books, however it's pretty much mandatory for games. Other topics include keeping track of a player's inventory using arrays, keeping track of units on the battlefield using vectors, and using iterators to manipulate data in arrays and vectors. It also goes into functions, parameters, classes and derivation and polymorphism.
The book starts off with your typical "Hello World!" app, but in this case it's the "Game Over!" app. While the first chapter is really easy, the author wastes no time in ramping up the complexity, throwing more and more concepts at you and by 1/3 of the way through the book, you really have to think and practice to keep up - if you are a beginner like me - but the effort is worthwhile. You may actually use some of the code in your own game, and you WILL learn the fundamentals of C++. The last chapter takes EVERYTHING you learned in the previous chapters and puts it all into one game: BlackJack. It's more complicated than you might think, and that is good!)
However, the book does have some drawbacks. Namely it's a beginning C++ book. There is no mention of mice, game controllers, 2d graphics, 3d graphics, OpenGL, DirectX, game engines, or the like. Also, there isn't any mention of how to save or retrieve files and data from a hard drive. All of the applications are console applications (basically a DOS-like window) so you are going to have to learn a lot more if you want to do games with any kind of graphics. Also, there is a appendix on how to set up your IDE and compiler, but it's not in the main text. (It takes a bit of work, but you'll get it).
Having said that, it is what it is, and what it is it does very well. You won't walk away from this book saying you didn't get a full primer on C++ that is directly applicable to game design. (The logic behind the graphics!)
The only reason I didn't give it 5 stars is because it doesn't go into saving or retrieving files, but other than that it's an excellent book to get you up to speed with real C++.
(Call it 4 1/2 stars. Bottom line: it's worth the money)
Yes there are still games that you can create through the Command Line such as guessing a number games but nothing that is actually a game with a GUI. If your looking for GUI programming then this is not the book for you. If your looking for an introduction on C++ keep reading.
As I was reading this book I noticed that this book is a great tutorial, me programing in other languages for school such as C and Visual Basic and Java, I already knew the concept of strings, integers arrays and more that is in this book. But what this book did is it broke it down and explained what strings, integers arrays do in a non boring way which made this book fun to read. The way it was written and how it was explained actually taught me a few things about Loops and how to code in C++. I like this book a lot even as a beginning C++ book because it shows me what wording I need to use in C++ to declare substrings and more, and it explains a lot about strings which other books do not cover. I would suggest this book to someone way before they bought any other book even if they have never programmed before because it will break it down thoroughly and explain it to you in a way that you might actually learn a thing or too. I have the kindle version and the code is easy to read and he does tell you where you can download the code before he even shows you the code. He also shows you the outcome before the code which I think is better because I like to try to figure out how to get his outcome without looking at his code. Then I compare my code to his. (But thats just my opinion) Anyway this book is a book I would buy so you can learn C++ even if you have programmed other languages before.
Michael Dawson uses a clear and natural language without large clauses who would have fall into the zone of failing to explain what he is so good to do at: teaching you C++. The point is that sometimes I have acquired books with so a twisted, verborreic style that you were unable to form a frame on what the author was talking about (It has happened me three times, with Java-related books.
So that if you want to go straight on and start studying and hard-working on C++ this is your book.
Top reviews from other countries
Arrived quickly and in one piece.
All in all a good purchase.
Raj Samarakoon
"A constant pointer to a constant combines the restrictions of a constant pointer and a pointer to a constant."
Obviously this is nonsense to a noob when quoted out of context, but the book does a good job of explaining this earlier in the chapter. I learnt enough from the book to be able to deconstruct and explain this in my own words:
1. A "pointer" is a reference to (the memory address of) an object, which can be reassigned to a different object. The value of the object to which it points can be changed via the pointer.
2. A "constant pointer" is the same as 1, but it cannot be reassigned to another object.
3. A "pointer to a constant" is the same as 1, but the value of the object to which it points cannot be changed via the pointer.
4. A "constant pointer to a constant" is a combination of 2 and 3, so the pointer cannot be reassigned to a different object and the value of the object to which it points cannot be changed.
Simple eh? However, while the less advanced topics do a lot to help the reader understand the concepts, this seems to drop off when you get to the later chapters. Maybe the book simply exceeded my attention span, but before I knew it I found I had been dumped at WTF International Airport. In spite of this and the few typos here and there (e.g. "integral" instead of "integer" and such) this is still a very good book and I would recommend it.
I think I need to take an aspirin from the bathroom cabinet and re-read the last quarter of the book, in the hope that I can get the most out of it before the alien embryo in my brain causes my head to explode.
I've the 3rd edition of this fantastic book, and I was/am pretty much a noob. Sure, I have been following tech related stuff for years, know my way around a computer... but never really got into programming, or scripting. The book assumes you have zero knowledge on C++, or programming in general. So, if you expect anything other than a great primer book which teaches you the core concepts of C++ programming logic, using game related exercises that keep you focused on the pathway and reason why your decided to learning this flexible language to begin with, you may be disappointed. However, if your like me, someone who works 55 hour weeks milking cows, who wishes to one day make his own games, you've got the dedication, along with a few hours to spare a week, you will make great progress with this book. I've spent a little over a month learning the materials, really trying to understand the core concepts before rushing through the material, met the end of each chapter with discussion questions and exercises which I have taken the time to really dissect, and understand, before moving on. I am currently on Chapter 7, understand everything I've been taught by this book, and consider that a great achievement in itself. However, if you're a beginniner, and want to make anything other than text based games, you're going to be sorely disappointed. Before you run, you need to walk, and before you can walk, you need to crawl. Graphical programming, and SDL, are advanced topics that this book does not spend a great deal of time discussing WITH GOOD REASON. You will really need a solid grounding in C++ before you can move onto these topics, which this book is delivering in spades. This is not Complete C++ though Game Programming, and you will find it difficult to find a book which could do such a job. After this book, I will move onto a more intermediate level book, while also picking up something on OpenGL, Vulcan, or DirectX.
I have given it 5 stars for now, which I will review after completion. So far, the book has done everything I could have asked for in teaching me how to use C++ for creating basic data structures for Game Programming logic. If your are beginning c++ programming, this book is an excellent foundation to build upon. And that is exactly what we all need. The only thing I could suggest is check out the reviews for the Fourth edition. C++11/14 is the current standard, and C++17 is around the corner. It would be good practice to learn a current standard, however, it's not as important as just getting started, and getting stuck in!! Happy coding!
Reviewed in the United Kingdom on April 2, 2017
I've the 3rd edition of this fantastic book, and I was/am pretty much a noob. Sure, I have been following tech related stuff for years, know my way around a computer... but never really got into programming, or scripting. The book assumes you have zero knowledge on C++, or programming in general. So, if you expect anything other than a great primer book which teaches you the core concepts of C++ programming logic, using game related exercises that keep you focused on the pathway and reason why your decided to learning this flexible language to begin with, you may be disappointed. However, if your like me, someone who works 55 hour weeks milking cows, who wishes to one day make his own games, you've got the dedication, along with a few hours to spare a week, you will make great progress with this book. I've spent a little over a month learning the materials, really trying to understand the core concepts before rushing through the material, met the end of each chapter with discussion questions and exercises which I have taken the time to really dissect, and understand, before moving on. I am currently on Chapter 7, understand everything I've been taught by this book, and consider that a great achievement in itself. However, if you're a beginniner, and want to make anything other than text based games, you're going to be sorely disappointed. Before you run, you need to walk, and before you can walk, you need to crawl. Graphical programming, and SDL, are advanced topics that this book does not spend a great deal of time discussing WITH GOOD REASON. You will really need a solid grounding in C++ before you can move onto these topics, which this book is delivering in spades. This is not Complete C++ though Game Programming, and you will find it difficult to find a book which could do such a job. After this book, I will move onto a more intermediate level book, while also picking up something on OpenGL, Vulcan, or DirectX.
I have given it 5 stars for now, which I will review after completion. So far, the book has done everything I could have asked for in teaching me how to use C++ for creating basic data structures for Game Programming logic. If your are beginning c++ programming, this book is an excellent foundation to build upon. And that is exactly what we all need. The only thing I could suggest is check out the reviews for the Fourth edition. C++11/14 is the current standard, and C++17 is around the corner. It would be good practice to learn a current standard, however, it's not as important as just getting started, and getting stuck in!! Happy coding!









