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.