Jump to content
  • Advertisement
Sign in to follow this  
KaiDao

Books for learning C++

This topic is 4608 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

Hey guys, I'm new here =P. I have started C++ a few times, but everytime I kinda just..drifted away from it. But now, I'm really going to focus on it, and buy some books to help me. I'll give you a list of the books I bought, and...please tell me what you think =) Thanks for everything. The C Programming Language (2nd Edition) (Paperback) by Brian W. Kernighan, Dennis Ritchie, Dennis M. Ritchie C Primer Plus (5th Edition) (Paperback) by Stephen Prata C++ Primer Plus (5th Edition) (Primer Plus (Sams)) (Paperback) by Stephen Prata The C++ Programming Language (Special 3rd Edition) (Hardcover) by Bjarne Stroustrup So..what do you guys think? -'kai'

Share this post


Link to post
Share on other sites
Advertisement
its kinda the same just learn c++ then maby look at some c code and u will be able to read it and write it after a few houres, the reason you get drifted away is cos u dont have any small progects, u need many example progects (small and to the point but usualy usles) just to practice, good examples ---> make a prog that finds 2,3,5,7 --> primes then one that finds all primes between num x and num y etc thn use stuff like arrays to increase the possible value of your prime like
22222333333344444444555555666666677777778888888999999990000000009999998746783
56723462346452645756865977894685673465234345389475897345837287873857394568945
65763849568ß34905689034856029834056892349578309474897689027537562369576345634
76474646464736737374848562938475694568234758735843256165261525265261526536547
36547257452545247838973454567457645666665555555546746574567676666777765333223

this dosnt fit into any num type, but just keep at it get a book by Herb Schild his books are the best :)

Share this post


Link to post
Share on other sites
Hmm...does anyone have anything on how these books are for a noob programmer? These books were highly recommended in Amazon, and a few other websites. So does anyone have anything here?

Share this post


Link to post
Share on other sites
I found Steven Prata's book on C to be really good(haven't read his one on C++ yet), and the C++ Programming language is good too, I'd recommend you to read those ones.

Share this post


Link to post
Share on other sites
When learning from scratch I usually look for the books I can download for free. Take a look at How to Think Like a Computer Scientist: C++ version.

BTW if you have a compiler for C++ then I would only resort to using C if you need to migrate old code to C++. C++ is more complete as far as the language goes and you will avoid learning some bad habits from your C programming approach. Also strings in C++ are much faster and easier than arrays of type CHAR!

Share this post


Link to post
Share on other sites
I heard that it's pretty good to be fluent in both C and C++ languages. Like if you do something wrong while typing up the C++ code, your knowledge of C will help you.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!