Learning C++

Started by
6 comments, last by GeniusJoe 21 years, 9 months ago
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
Advertisement
There a lot of good books to learn C++ ! Maybe you could first look at this one (it's a free online book, PDF format) :

http://www.codecuts.com/mainpage.asp?WebPageID=315



__________________________



Bruno Wieckowski
Lead Programmer
Exood4 Studios



[edited by - brunow on July 1, 2002 3:20:35 AM]
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.



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.
I can send you the teach yourself C++ book in an offline edition.

And also, if you need a compiler, get dev-c++ off Bloodshed.net
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.
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
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.

This topic is closed to new replies.

Advertisement