I read neither the 5th edition nor the 6th edition but I think that the higher version of edition the better because the last edition contains more information about modern C++.
I read neither the 5th edition nor the 6th edition but I think that the higher version of edition the better because the last edition contains more information about modern C++.
I also agree with JLBorges C++ Primer is a great book to get for a reference and for when learning C++. Moo and Lippman are my favorite authors on C++.
C++ Primer Plus is a second rate knockoff of C++ Primer and I personally wouldn't recommend it to anyone. http://accu.org/index.php?module=bookreviews&func=search&rid=1744 Granted that is a review on the Fourth Edition but Stephan Prata doesn't really have a good track record with C++ books.
@vlad i think i have developed a high respect for your point of view. What you just said is true. Infact, it is my reason for asking this question.
For some weeks now I have been using Programming principles and practice by bjarne stroustrup like you said, it is really a very bad book for beginners.
Remember yesterday i asked what book you learned C++ from, it was cos this book didnt seem to be really good and i was looking for an alternative.
I like his explanation about programming, but he didnt seem do do a good job at making a newbie really understand C++.
From chapter 5, he began to use a lot of unexplained functions.
I wished you had told me earlier to stop using this book.
Well i decided it has been an utter wast of my time after my struggle to ride along to chapter 8.
I already had C++ primer 5th edition, I think im gonna start again with that.
@vlad i think i have developed a high respect for your point of view. What you just said is true. Infact, it is my reason for asking this question.
I said so because 1) I meet very often complaints against this book from beginners; 2) I read the book myself and I can confirm that the book from the methodical point of view is very and very bad for beginners.
You should take into account that Straustrup is weak as a practical programmer. It is enough to mention that due to his petty tyranny programmers over the world were lost such useful algorithm as copy_if.
Straustrup is a theoretic of programming. So his books are full of philosophic reasoning. It is not what beginners need.
@Cubbi
You should take into account that his actual job is teaching C++ in college (at TAMU, to be exact). The book is what worked best in practice.
If for example your job is writing programs it does not mean that you are a good programmer.:)
As for other your statements I can say nothing because I do not see any argu,ments.
std::copy_if was excluded from the C++ 2003 Standard due to personal efforts of Straustrup and he is writing about this in this book. Did you read this book?:)
std::copy_if was excluded from the C++ 2003 Standard due to personal efforts of Straustrup and he is writing about this in this book. Did you read this book?
Must have been a different book. PPP says: "Thanks to a mistake I made, this algorithm is missing from the 1998 ISO Standard. This mistake has now been remedied, but you can still find implementations without copy_if. lf so, just use the definition from this section".
His personal efforts back then were to turn all of STL into the standard library requirement, not the opposite.
More importantly, Stroustrup does not teach theory. His goal is to bridge the gap between what people learn in college as programming and what is needed to work as a programmer.
@Megziflips
From chapter 5, he began to use a lot of unexplained functions
It will be interesting to hear what you will say when you start to read chapter 19.:)
I dont think you will be seeing that. I gave up on that book today. You are totally right. Really not for a beginner and i can second most things you said here. His ideas are greatly philosophic.
But i must hand it to him, the book gives you a great approach and perspective to programming in general.
It also feeds your desire to become a programmer.
I will be sure to review that book when I am comfortable with programming.