
please wait
I have 6 C++ programming books |
Which ones? |
Once my code gets to this size it gets hard for me to keep track of stuff and its harder for me to make things work properly. |
I think its actually a good idea to keep rewriting this until its coded properly. I mean im not trying to get a job in programming or anything, i just want to learn enough to be able to code a 2D game in SFML without running into too many snags. |
+--------------------+--------------------+ | Class Name | | One line description of it's purpose | +--------------------+--------------------+ | Member Functions | Member Variables | | | | | | | | | | | | | | | | | | | | | | +--------------------+--------------------+ |
I have: Professional C++ by Marc Gregoire A Tour of C++ Second Edition by Bjarne Stroustrup C++ Primer Fifth Edition by Stanley B. Lippman Programming Principles and Practice Using C++ Second Edition by Bjarne Stroustrup The C++ Programming Language Fourth Edition by Bjarne Stroustrup Ive looked through Professional C++ the most |
There are too many classes in school about syntax and theory and not enough on design |
you are lucky to do 1 group project that has a design with any real difficulty to it. |
But if you can't instantaneously visualize the whole program in your head, then you need to start writing some stuff down. |
There is a decent online and free C++ tutorial you might want to look at as well: https://www.learncpp.com/ |
from scratch, you have a daunting big problem in front of you and breaking it down is a gigantic (necessary) effort. If you get something wrong, you have to spot it before coding so you don't code up a bunch of stuff that does not work together as planned. |
I count 5... |
I concur IMO that Professional C++ is the best of these. Which Edition have you got (The current is 5th)? |
Note that 'C++ Primer', 'Programming Principles' and 'The C++ Programming Language' are now well out of date and no new up-to-versions are available. |
Thats really unfortunate to hear |
Those older books are not necessarily 'wrong' but don't cover the new C++ features since they were written. I suggest looking at: C++17: The Complete Guide https://leanpub.com/cpp17 C++17 In detail https://leanpub.com/cpp17indetail C++20: The Complete Guide https://leanpub.com/cpp20 C++20 https://leanpub.com/c20 There are also other C++ books on leanpub.com you might find of interest. Books by Bartłomiej Filipek (bartek) can be recommended. His blog site is: https://www.cppstories.com/ Also books by Grimm (not the reaper!) and his blog: http://www.modernescpp.com/ For a summary of new features available in the various C++ versions and which compilers support them, see: https://en.cppreference.com/w/cpp/compiler_support |
They are more often than not outdated even before they are published. |
You mentioned "Professional C++," do you know about "Beginning C++20 - From Novice to Professional"? |
Right now my weakest points are inheritance, polymorphism etc. class stuff |
all in all thats about $370 worth of books, its a shame i cant use them effectively |
C++ programming books recommended by people |
Should i be learning from the learncpp.com site or just use that as reference? |
Im going to really study this stuff and take notes |