- #1
ghost313
- 29
- 0
Can anyone advise me a good book on tutorials for C++?
Something that starts easy and goes to complex?
Thank you.
Something that starts easy and goes to complex?
Thank you.
No! Do not buy any book about programming, in any language, written by Herbert Schildt.cpscdave said:one I used when learning was
http://www.amazon.com/dp/0071634827/?tag=pfamazon01-20
Quite liked it till the binding failed :)
D H said:No! Do not buy any book about programming, in any language, written by Herbert Schildt.
Google the term "bullschildt". Then burn that book.
D H said:
- https://www.amazon.com/dp/0321992784/?tag=pfamazon01-20
This book is aimed at students who don't know programming. Stroustrup created C++. This book is straight from the source.
D H said:The basic problems with any of Schildt's books is that they are full of sloppiness and even out-and-out errors, they are out of date, and worst of all, they teach what are widely regarded elsewhere as bad programming practices. [/list]
Schildt is widely reviled by those who do know how to program. The big problem with Schildt is that his writing style makes him widely loved by those who don't know how to program. An even bigger problem: That group unfortunately includes instructors whose job is to teach people to program.X89codered89X said:Can you elaborate on those bad programming practices?
There's nothing in the C++ language that says everything has to be an object. Every working C++ program necessarily has at least one function, main, that is not a member of any class. C++ offers a number of different programming paradigms. You as the developer are responsible for determining which paradigm (or paradigms) best fit the problem at hand. There certainly are places where the object oriented paradigm is at best a sub-optimal choice, and C++ does not force you to make that sub-optimal choice.I learned C++ as a freshman in college but I've ... 5 years later, begun to realize the whole OOP paradigm makes things a lot harder than they need to be in my cases.
D H said:There's nothing in the C++ language that says everything has to be an object. Every working C++ program necessarily has at least one function, main, that is not a member of any class. C++ offers a number of different programming paradigms. You as the developer are responsible for determining which paradigm (or paradigms) best fit the problem at hand. There certainly are places where the object oriented paradigm is at best a sub-optimal choice, and C++ does not force you to make that sub-optimal choice.
The best C++ tutorial book for beginners would depend on the individual's learning style and preferences. Some popular options include "C++ Primer" by Stanley Lippman, "Programming: Principles and Practice Using C++" by Bjarne Stroustrup, and "C++ in One Hour a Day" by Siddhartha Rao.
Yes, there are many C++ tutorial books that cater to advanced learners. Some recommended options include "Effective Modern C++" by Scott Meyers, "Accelerated C++" by Andrew Koenig and Barbara E. Moo, and "The C++ Programming Language" by Bjarne Stroustrup.
A comprehensive C++ tutorial book should cover topics such as basic syntax and control structures, data types and structures, object-oriented programming concepts, memory management, templates, exception handling, and standard library functions. Additionally, it should also cover more advanced topics such as multithreading, networking, and graphical user interface development.
Yes, there are many online resources and tutorials that can supplement a C++ tutorial book. Some popular options include online coding platforms like Codeacademy and Coursera, YouTube channels like The Cherno and CppCon, and online forums like Stack Overflow and Reddit's r/cpp.
The time it takes to complete a C++ tutorial book can vary depending on the individual's learning pace and the complexity of the material covered. On average, it may take a few weeks to a few months to complete a comprehensive C++ tutorial book.