Next term, I'll be taking object oriented in c++, my professor isn't too keen on the book in the store and suggested we look elsewhere. Does anyone have any advice on some good c++ object oriented Programming textbooks?
Thanks!
Printable View
Next term, I'll be taking object oriented in c++, my professor isn't too keen on the book in the store and suggested we look elsewhere. Does anyone have any advice on some good c++ object oriented Programming textbooks?
Thanks!
http://www.amazon.com/s/ref=nb_sb_no...amming&x=0&y=0
Check that. One book is not really any better than the other imo. One thing I've learned about programming is that if you're willing to spend 8-10 hrs a day to learn it, give up your life, etc...you will be good at it no matter what. :O
you can try with QT , it is an easy subset of C++ , plus it is cross platform , compiled code run on Windows . Linux and OS X , further it is free , come with a great IDE , book on this can be purchased from amazon
http://www.amazon.com/Programming-Pr...5674923&sr=8-2
you can download QT from
http://qt.nokia.com/
As pointed out it is hard work , however if you stick around it pays off big time.
I do think there are big differences in quality between the various books out there. Some teach C++ in a way that you can continue with what you've learned, and for some you will first have to unlearn half of what you've learned before you can become productive. Usually you can get a pretty good idea by just going through user reviews.
Also have a look here: http://www.codeguru.com/forum/showthread.php?t=231039
What on earth are you talking about? QT is not a subset of C++, it's a GUI framework that even attempts to extend the C++ language through its own preprocessor. QT isn't going to help a beginner, rather you need to have a reasonable understanding of C++ before you learn any GUI framework. How can you learn to use a framework if you don't understand the language it is written in?
After seeing the previous comments, I emailed my professor to ask what he was looking for in a textbook. The following was his reply:
Although we will be reviewing some of the topics from previous C++
courses, we will also be discussing some new areas. Two topics of
particular note are the Standard Template Library (STL), and the
implementation of inheritance (we will be talking about this topic from
a design standpoint later this term). Also, a book that discusses the
whole context of object oriented programming would be best (rather than
focusing specifically on C++ syntax). So whatever book you consider
should cover these areas.
Hope this is a little more helpful. Thanks!
"Effective STL" is a must-read in that case.
My favourite is "C++ in a Nutshell"
I would disagree. I suggest that his job is to teach effectively, not promote book sales. If the best way for him to teach effectively is by having the students read a book, then great. It may well be, however, that it's not.
I understand that the Deitel book has a good chunk covering the standard library, although Josuttis' "The C++ Standard Library" for me remains the best printed reference, although I find the best guides to it are online; given that printed books on the STL are usually not for teaching C++, but teaching someone who knows C++ how to effectively use the STL, I wouldn't suggest any of the dedicated STL books to a newcomer looking to learn.
For OO, I found Chamond Liu's "Smalltalk, Objects, and Design" to be a really good introduction.
I'll be honest, I never opened my textbooks in college or than to look things up. Some people learn by reading, most don't. I think books should be used for reference, not teaching. Hands on is the way to teach and learn any kind of engineering. I know a lot of REALLY good programmers who never even went to college. If you really want to learn programming, hang out on this forum, here we see real world problems and solutions.
The problem, is that this is an 8 week class..so while we're in class he highlights key points of the chapters. We usually go over about 4 chapters in each class. He expects us to read the chapters to fill in the blanks. So, do I need a reference for when I am coding, because he is less than helpful when it comes to problems we encounter. But, also his tests are bastards! He tests on lecture, notes and book. I'm not sure how he'll do that with him asking us to go out and find our own book, but normally anything is fair game on a test. Needless to say I've had him as a professor before (twice before, and currently, and then next term). But for this term we're doing software analysis and design , in which we're doing a software project and next term we will implement the project we're planning this term.
We have a textbook for this term, he wants us to find a textbook for next term where we implement the project we're planning now. The book I currently have for this term is UML 2 and the unified process: practical analysis and design.
I would recommend you to read Effective C++ of Scott Meyers, it is helpful in c++ and fun for reading.
You can also check out this web site for more books on c++, http://www.cs.technion.ac.il/users/y...+C++books.html.
Good luck.
yes, we are required, as he mentioned in his email, we will moving into new topics of C++ next term. And as I mentioned earlier his tests are unbearable and without any kind of background/reference I will likely fail his class regardless on what I get on the actual project. Lastly term I got As-Bs on all my programs and because of his exams I barely passed the class. I'm supposed to graduate in May and am not willing to take any chances, but do you blame me?
Do you mean the exam questions are totally out of the blue with no relation whatsoever to the lectures or textbook or handouts?
Or do you mean the questions are fair in principle, it's just that you would need more background information to be able to really learn and understand what's being taught?
Maybe the professor is just formulating the questions so that cramming won't payoff but insight will. It would be interesting to have a look at an actual question with your comments as to why you find it "unbearable".
---
With that said I'll give you a list of books that help me. But you should know that we're in very different learning situations. I'm a practicing programmer concerned with getting the job done at the highest possible quality but my knowledge is never examined, only the result.
1. To learn about how to best make use of the C++ language in projects I find "C++ Coding Standards" by Sutter & Alexandrescu superior to any other best practice book I've ever come across.
2. For learning how to use the standard library (including the STL part) I find "The C++ Standard Library" by Josuttis excellent. For learning how to write my own templates I'm using "C++ Templates" by Vandevoorde & Josuttis.
3. I've picked up the object orientation language basics (encapsulation, inheritance and polymorphism) from standard textbooks on Java and C++. When it comes to object oriented design I used the classic "Design Patterns" book by Gamma and others. Or rather tried to use because it's a very hard read. But recently I've found a much easier book I really would like to recommend for a beginner. It's called "Head First Design Patterns" by Freeman & Freeman. Note that it uses Java as model language if that's a problem. Still I would consider it because it gives real insight in a very informal way.
---
But again beware. These books suit me well but may be totally worthless to you.
Easy in the seance ( Nokia QT) through moc compiler , does way with function pointers , and replaces them with signal and slots , that is why languages like Java and C# where so successful , as a programmer you need to be productive and deliver results quickly once you have mastered the basics you can move into more complex topics , head over to http://www.3dbuzz.com and download there vtm on C++
you will learn in weeks what people take years to learn.