recommend a (printed) book for learning C++ please
-
- KVRAF
- 2655 posts since 13 Mar, 2004
I'm currently learning C++ and work through various online tutorials.
My last more intensive encounter with 'programming' was in C64 BASIC, so I'd consider myself a total beginner more or less.
Doing the online tutorials works ok (currently learning about definition and calling of functions) but sometimes it's also nice to not having to learn in front of the computer so I'm also looking for a printed C++ book.
Is there something like 'the reference C++ book' which anybody used to learn or what would you recommend ?
Thanks.
My last more intensive encounter with 'programming' was in C64 BASIC, so I'd consider myself a total beginner more or less.
Doing the online tutorials works ok (currently learning about definition and calling of functions) but sometimes it's also nice to not having to learn in front of the computer so I'm also looking for a printed C++ book.
Is there something like 'the reference C++ book' which anybody used to learn or what would you recommend ?
Thanks.
-
- KVRian
- 1278 posts since 24 May, 2004
I used C++ Primer Plus by Stephen Prata. It's really good because he tackles many many common programming issues along the way that you'll encounter with any programming language.
The "reference" is of course The C++ Programming Language. But people don't really recommend it for beginners.
The "reference" is of course The C++ Programming Language. But people don't really recommend it for beginners.
-
- KVRian
- 626 posts since 29 Jul, 2003 from Paris - France
here's the ones I have on my bookshelf about C++:
"The C++ Programming Language"
"Effective C++"
"More Effective C++"
"Effective STL"
"C++ coding standards"
"Modern C++ design"
"C++ template meta programming"
The last ones are not really for beginners but, even if you're not a hardcore C++ programmer, its important from a cultural perspective to know about the existence of advanced programming techniques.
And make yourself (and others that will read your code) a favour: read "C++ coding standards". I highly recommend it for starting with good coding habits, it makes your code more readable and help avoid common programming errors.
"The C++ Programming Language"
"Effective C++"
"More Effective C++"
"Effective STL"
"C++ coding standards"
"Modern C++ design"
"C++ template meta programming"
The last ones are not really for beginners but, even if you're not a hardcore C++ programmer, its important from a cultural perspective to know about the existence of advanced programming techniques.
And make yourself (and others that will read your code) a favour: read "C++ coding standards". I highly recommend it for starting with good coding habits, it makes your code more readable and help avoid common programming errors.
-
Jeff McClintock Jeff McClintock https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=56398
- KVRist
- 433 posts since 30 Jan, 2005 from New Zealand
- KVRist
- 111 posts since 12 Mar, 2005
If you're a beginner maybe this is a good starter:
http://www.amazon.com/Sams-Teach-Yourse ... 0672327112
I once found a online pdf version.
Google for it and see if it fits your needs.
http://www.amazon.com/Sams-Teach-Yourse ... 0672327112
I once found a online pdf version.
Google for it and see if it fits your needs.
-
- Banned
- 12367 posts since 30 Apr, 2002 from i might peeramid
hermann schildt, "c++ for beginners"
nice in text, free as pdfs from microsoft
nice in text, free as pdfs from microsoft
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.
-
signalfromzero signalfromzero https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=218420
- KVRer
- 9 posts since 28 Oct, 2009
From the creator of C++ :
http://www.amazon.com/Programming-Princ ... 321543726/
Then read books, papers & articles by myers, sutter, or alexandrescu.
http://www.amazon.com/Programming-Princ ... 321543726/
Then read books, papers & articles by myers, sutter, or alexandrescu.
-
- KVRAF
- 1940 posts since 16 Aug, 2004 from Vienna, Austria
That's Herbert Schildtxoxos wrote:hermann schildt, "c++ for beginners"
http://msdn.microsoft.com/en-us/beginner/cc305129.aspx
But the Internet doesn't forget... google "C++ A Beginner's Guide" .pdf
I learned it from Bjarne Stroustrup's original work "The C++ Programming Language" in 1989. Below 300 pages at that time, IIRC
-
- KVRAF
- Topic Starter
- 2655 posts since 13 Mar, 2004
Thanks for the other suggestions also.
I now went with 'C++ Primer Plus' as it looked quite good (imo) from the preview.
Also thanks for the hints about the pdf's...
I now went with 'C++ Primer Plus' as it looked quite good (imo) from the preview.
Also thanks for the hints about the pdf's...
- KVRist
- 443 posts since 13 Mar, 2009
Make life easy for yourself and read this first!No_Use wrote:I'm currently learning C++ and work through various online tutorials.
My last more intensive encounter with 'programming' was in C64 BASIC, so I'd consider myself a total beginner more or less.
Doing the online tutorials works ok (currently learning about definition and calling of functions) but sometimes it's also nice to not having to learn in front of the computer so I'm also looking for a printed C++ book.
Is there something like 'the reference C++ book' which anybody used to learn or what would you recommend ?
Thanks.
http://www.acceleratedcpp.com/
Then move on to more detailed reference books etc.
Well, that would be my advice for a beginner.
Stephen
-
- Banned
- 12367 posts since 30 Apr, 2002 from i might peeramid
reality falls short of the ideal :parakula wrote:That's Herbert Schildtxoxos wrote:hermann schildt, "c++ for beginners"
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.
-
- KVRer
- 19 posts since 21 Feb, 2006
+1 for this excellent resource!audiospillage wrote:Make life easy for yourself and read this first!No_Use wrote:I'm currently learning C++ and work through various online tutorials.
My last more intensive encounter with 'programming' was in C64 BASIC, so I'd consider myself a total beginner more or less.
Doing the online tutorials works ok (currently learning about definition and calling of functions) but sometimes it's also nice to not having to learn in front of the computer so I'm also looking for a printed C++ book.
Is there something like 'the reference C++ book' which anybody used to learn or what would you recommend ?
Thanks.
http://www.acceleratedcpp.com/
Then move on to more detailed reference books etc.
Well, that would be my advice for a beginner.
Stephen
