Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

GeniusJoe

Learning C++

This topic is 5927 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 want to learn how to program games in C++. I have no programming experience and currenly college is not an option. What is the best book for learning C++ and what books should I read afterwards? Thanks, Joe

Share this post


Link to post
Share on other sites
Advertisement
1) You need a good C++ reference. I use C++ The Complete Reference 3rd Editon. Don''t try to learn from the reference!

2) You need a good C++ book for beginers. Feel free to use an online book or get one from the library. If you have a good reference manual you won''t need to keep the book when you are done. I like Sam''s Teachyourself C++ in 21 days 4th Editon.

3) Don''t read anything Afterwards! At least not a first. As soon as you finish your first book start working on a project than incorporates everything you just learned. When you are comfortable with every feature of the language then you are ready to move on.



Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Start with Accelerated C++. Then "The C++ Programming Language" by Bjarne Stroustrup (the creator of C++). Get a book on the standard library, such as the one by Jossuttis (sp?). Get MSVC++ professional at academic pricing ($50) and you are on your way to making games.

Share this post


Link to post
Share on other sites
I already have DevC++. I think I heard that you should already have experience for accelerated c++, is it really good for beginners? What about Thinking in C++, is that good for beginners? Also what is "the standard library" that was mentioned. Thanks for the help and please keep it coming.

Share this post


Link to post
Share on other sites
Thinking in C++ by Bruce Eckel is little hard for newcomers, it goes into advanced concepts. Like the poster above I would recommend C++ in 21 days. That book helped me a lot. For reference I recommend ''Microsoft''s visual c++ reference(on MSDN)'' failing that, the C++ standard($20 pdf) is little harder going. I have both but prefer MS reference. Don''t have stroutstrup''s book so can''t tell. However the STL excerpts from his book were very insightful to me. The C++ in 21 days can be found on IT websites like informit, etc. for free.

After you get the books I would try doing simple non-object non-function console type programs. It will be quite hard at first because of info overload. I mean what the heck is << or printf() Kinda hard to understand without going into static objects and functions. You might have to accept some concepts blindly at first. That will frustrate most people. Like in math where you''re doing these little theoretical concepts and it isn''t until much later that you get to put all this together to form something greater. Good luck

Share this post


Link to post
Share on other sites
Hi,
i am also new to c++,but have little experience of programming in C."Thinking in C++" will not be a correct book for a beginner.u should start with "Sam s Teach Yourself C++ in 21 days".
i am also using "Object Oriented Programming in C++" Third Edition by Robert Lafore.This book is good in the regard that it provide a lot of programming assignments in the end of each chapter and also solutions to some of them.Here is a link to some online books includeing "Sams teach yourself c++ in 21 days".

http://www.ssuet.edu.pk/taimoor/books/

once u start learning c++ u will come across some problems. However do not hesitate to post ur problem.there are many people here to help u.
ok good luck.

Share this post


Link to post
Share on other sites

  • 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!