Jump to content
  • Advertisement
Sign in to follow this  
emforce

beginner book

This topic is 3411 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i am almost an absolute beginner to C++ and am looking for a book that will solidify my current knowledge and bring my level up to that of maybe an intermediate. can anyone please give me some good suggestions on what book i should buy. my eventual aim is to start creating my own 2D and then 3D games. to clarify my current level is that of doing simple calculators. so please if you can recommend a good book please do so :D

Share this post


Link to post
Share on other sites
Advertisement
I would suggest C++ Primer Plus Fifth Edition, with over 1100 pages to keep you well informed! Once you have an understanding of all basic and as some advanced concepts (At least Classes, Pointers, References, New, and Delete), go and try out an API like SDL or Allegro. While you're learning C++ or whatever language you pick, remember a lot of people on this forum can help you whenever you run into trouble. Keep in mind learning C++ without any past programming experience will be a rocky road. I'm sure other posters will make some better suggestions for you. Just remember, when picking a language you should pick something you can work with easily to achieve your tasks. Unless you're planning on landing a job with C++ or you must use it, look around for higher level languages like C# and XNA, or a scripting language like Python which you can use Pygame for your games.

Best of luck!

Share this post


Link to post
Share on other sites
I would suggest "Practical C++ programming" by Steve Oualline.
The book is great for both beginners and intermediate programmers.

The game teaches you the beginnings of programming. You learn what variables are and how to use if-statements, to more advanced topics such as pointers, classes and templates.

The reason I like this book so much is because it is well written (not as boring to read as most other books about C++). The second reason this book is a must in my opinion is because the book is full of questions (and answers which are given at the end of the chapter). Think of questions like "why does the following program crash: (code)". And at the end of every chapter there are a couple of exercises. An example of those is "write a program that converts miles per hour into kilometers per hour" or "write a program that takes hours and minutes and converts it to just minutes". Later in the book the excercises become more difficult ofcourse. This way the book actually makes you use the theory in practice (because real programming is learned by actually programming, not by reading a book).

The last reason this book is so great in my opinion is that it realy focusses on a good programming style. It teaches you to make your programs simple and easy to understand by using comments and to avoid using 'clever' programming.

Good luck!

Kind regards,
Rob

Share this post


Link to post
Share on other sites
thanks for the time and effort for you guys to post i will look into both books
and thanks :D

Share this post


Link to post
Share on other sites
robvleugel made a good suggestion. Keep in mind, you get better at programming by doing, not reading and reading all day long. Theory is worthless if you're unable to put it into practice successfully. Books that keep you making programs while reading are the best ones to buy. C++ Primer Plus has a series of programs to make per chapter that lets you test your knowledge for that chapter.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!