Monday, May 24, 2010

C++ programming?

I am a complete beginner to programming, but have to learn C++ next year at uni so thought I would give myself a bit of a headstart. The book that the course is based on is "C++ How To Program" by Deitel %26amp; Deitel. Is this a good book for me to start to learn with, someone said somewhere that it contains lots of OOP (whatever that is, and apparently its hard to learn). Could someone enlighten me please.





If you don't think this is a good book, could you please recommend one for me (remember, I am a complete beginner, the only programming I have done is a pit of BASIC for picaxe ICs).





Thanks for your help.

C++ programming?
Almost everyone learns with Deitel; it's very common in entry-level classes.





I don't think it's a very good book, however; it's not what I would call "Plain language."





For all begginers, I recommend the For Dummies series. They have a C++ book with a CD-ROM that includes sample code; you might want to try that if you want a head start. Very plain-language and easy to follow.
Reply:I can't remember who its by but its called "C++: An Introduction to Computing". Very good book.
Reply:I actually used the same book in my C++ class a year ago. I had no problem following the book, but then again, while C++ was rather new to me, I have been a programmer in other languages for over 10 years. Overall, I thought the book was fine. If you need to get the book anyways because of the class, pick it up and start playing with it. There will more than likely be areas where you will need further explaination like polymorphism, operator overloading, etc. Some aspects take a little getting used to.





And OOP means Object Oriented Programming. VB.NET, C#.NET, and Java are all examples of OOP. Programming is based more on the use of objects (and their associated properties, methods, events) than your legacy procedural languages (like COBOL, C, etc).
Reply:OOP stands for object oriented programming. C++ was created by taking C (not an OOP language) and adding object oriented constructs to the language. As its roots are not object-oriented it has a lot of baggage and idiosyncrasies that can make it difficult for beginners.





It has been many years since I learned C and C++ and I am unfamiliar with the book that you mention. I will recommend a companion book that will help you out tremendously with the "gotcha's" in the language -- Scott Meyer's "Effective C++". Also, Bruce Eckel's "Thinking in C++" is good and is available for free access online.





Best wishes for a successful time at the university!
Reply:never used that book before (I'm a VB-6 programmer), but there's a great site full of source code: Planet Source Code...http://www.pscode.com
Reply:I would reccommend "Sams Teach Yourself C++ in 24 Hours" for a good start. I used it, and it lays down a great foundation. It will teach you all the basics, from your very first program to advanced concepts like object-orientation and polymorphism.





I also use "C/C++ Programmer's Reference". It's great if you forget the syntax and need a quick refresher.
Reply:What really helped me understand OOP was a section from Windows 95 Programming for Dummies, which apparently is included in C++ for Dummies.





It's the description of "object oriented nachos", and it's one of those things that I read and didn't get. Then, as I lied in bed starting at the ceiling, it hit me.





There's a lot more to OOP than what's in this sample chapter, of course. But those things become a lot easier when you have a solid grasp of the basic concept.
Reply:I would reccommend the website


http://www.cplusplus.com/doc/tutorial/in...


This website has a very nice tutorial and is useful for people without any or with little programming knowledge.

potential break up song

No comments:

Post a Comment