This is surely a classic question by now, but I'd like to study c++, and as my school is failtastic I need to do that myself. So what book would be nice? Should include modern c++ with minimal c. I know of Stroustrup already, but what I have heard its more of a reference book(going get it from library anyways...)
Skip Sepples. Study C.
If you absolute must have your Sepples, only do it after you've mastered C.
Name:
Anonymous2008-02-21 7:57
>>3
I disagree. C++ and C both have their place, but you should think of them as different languages not a super/subset. Otherwise you'll write really shit C++ code.
OP: Accelerated C++ by Koenig and Moo is excellent.
Name:
Anonymous2008-02-21 8:14
>>4
Sepples is just C with classes. It was made to be C with classes. It is used as C with classes.
OO is vastly overrated, and Sepples doesn't even manage to be properly OO. The fact that it's widely used doesn't not make it a shit language.
Name:
Anonymous2008-02-21 8:27
>>4
No it's not.
The fact that it doesn't manage to properly do OO is good because OO sucks.
C++ is not C with classes, they have differend semantics for the same keywords etc. http://david.tribble.com/text/cdiffs.htm
Name:
Anonymous2008-02-21 8:30
>>6 C++ recognizes //... comments as well as /*...*/ comments.
.XP
ONE WORD. THE FORCED EXDENTION OF CODE. THREAD OVER.
Name:
Anonymous2008-02-21 13:56
>>5
C++ was originally C with classes, but in the intervening 20 years the fashion changed. OO is out of fashion now, everyone does generic programming with the standard library.
Down In the meantime I propose we suggest they go into a corner to escape the smell but they still use thousands Anyway Ruby will have bytecode then it will pwn Conversation over Also!