Hello Leslie
I can very well appreciate your frustration at buying a PROPER C++ book from a bookstore. There seems to be tons of them. How to choose? Which one would I recommend? Well based on the fact that I worked over 20 years with C & C++/stl/etc., and I have personally own a library of 18 books on the subject, I would not recommend the Deitel C++ how to program 5th series. In my opinion, it covers C++ in a "academic" manner with tons of colored line code and "cookie cutter" examples. Many of the so called "software engineering" recommendations are simplistic, vague and, at times, pitiful. Since you do have a C background, and you are considering gravitating to OOP from a C++ perspective, may I recommend Thinking in C++ volume 1 & 2 by Bruce Eckel - 2nd Edition and up. I also came from a C background, mostly designing and developing drivers at Hewlett Packard. Really low-end stuff. This book helped me a great deal with OO concepts and how to implement them in C++. Many of the areas in the book look at C++ from a C perspective. It's an excellent starting point. Oh Yes, Effective C++ is also a good book, but the examples are wanting. I would recommend you start out with Thinking in C++ then looking over the Effective C++. This is a good base to start with. The next step I took was the purchase of a very good book on "Patterns" and applying my knowledge of C++ alongside each pattern. It was tedious but this exercise really helped me out in visualizing how the pieces of the OO (Object Oriented) approach fit together. If you would like, I could recommend you some "Design Patterns" books which are NOT the ones which everybody seems to have in their library gathering dust. I have a few gems which really help you think-out a problem in a natural manner rather than some "abstraction" which takes you 2 weeks to figure out (the UML doesn't help by the way) what the hell the guy is talking about. Anyway, my 2 cents. Ciao Jim (Jacques) Colmenero From: [email protected] [mailto:[email protected]] On Behalf Of Leslie S Satenstein Sent: Tuesday, March 20, 2012 5:16 PM To: Montreal Linux Users Group Subject: [SPAM] [MLUG] Off Topic C++ course Well, I have a request for some help with my learning C++. For 25 years I have been developing code in C, and now I have started with C++. The grammar, is not my hangup, it is with classes, inheritance, the this pointer and inheritances and good practices. Can someone recommend a course I could audit, or of a self study course they could recommend? I was at the library and while there are about a hundred C++ books, I seem to have hangups for inheritance, polymorphism, and multiple inheritance. My objective is to learn to develop some applications using the QT framework. I noted that some critical QT classes have in excess of 50 methods. I would even pay a lunch, a few beers, or a supper for a person who could help me out by answering some questions by email or phone, at that person's convenience. I promise to not over commit anyone who helps. I am using a Java book at the same time to get familiar with this language. I understand that most students learn about classes via Java first. The tutorials on the web miss the human touch. I have questions such as two of the following. If I can do sizeof(structure) to get its size in memory. Can I do the same of a class. sizeof(class) ? One other question. In C, I can do a memset(structure address, 0, sizeof(structure)), and that will zap the structure. Can I put the structure within a class and do the same? I think I am not able to do the memset(?class,0 sizeof(class)) clearout because of private variables. I want to develop expertise in QT and with Boost libraries and SDK. Once I get over this hurdle, I will be home free. Development environment is 32 or 64 bit Linux. Please give me some feedback, recommendations and or other, to respond to my needs. ------------------ Regards Leslie Mr. Leslie Satenstein 50 years in IT and going strong. Yesterday was a good day, today is a better day, and tomorrow will be even better. mailto:[email protected] alternative: [email protected] www.itbms.biz
_______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
