Thursday, July 30, 2009

I'm learning C++ on my own, but finding a hard time understanding some of the definitions?

I've bought a few books on the matters of C++:





Beginning C++ Game Programming (Michael Dawson, Thompson Course Technology), C++ How To Program 4th Edition (Deitel), and C++ Without Fear (Brian Overland, Prentice Hall)





C++ Without Fear has been one of the greater books, but all three have a way of describing something, like Objects and how they work, but then tell you that you shouldn't worry about it until later on because that's out of the beginning scope. But then, I find that before I even get to the part where Objects are discussed, I'm having to include them into the source code and I still don't have an understanding. And if I skip ahead to the chapter to just read up on objects I feel left behind because then there are so many other new implementations that I become confused and it, in turn, has be shifting back and forth through pages and I get frustrated.





I desperately want to learn C++, but I'm coming to my wits end. Any advice is helpful.

I'm learning C++ on my own, but finding a hard time understanding some of the definitions?
I have a copy of C : How To Program 2nd Edit. by Deitel and Deitel ... it's a very thorough book covering all the necessities of learning to program in C without regard to a specific platform.





I recommend starting with this book and working your way through gradually ... take the time to work out solutions to the problems they present after each chapter. When you finally have a sufficient grasp of C, then you'll be prepared to learn about C++ and object-oriented concepts ... as you won't be fumbling about unsure of the more primitive details of C.





As for learning C++ ... I wouldn't waste money on those over-priced books you've purchased. The best source of information on C++ programming I've ever seen is my tattered, old Turbo C++ 3.0 For Windows Programmer's Guide. The section on classes and objects and C++ specifics is less than 50 pages ... and yet it's more thorough and easier to understand than any of those other books. And, despite being very old ... it's still very much up-to-date for the most part.
Reply:I think really understanding Object-Oriented Programming is your...and most peoples, biggest hurdle. I suggest what most people learnign to rpogram do...starting off with a simpler syntaxed langauge that kindof eases into OOP. Like Java or VB. Both of which are free for students.
Reply:you are silly go learn a good language like fortran or colbolt
Reply:Yes as others have said, C++ (and the C-Family) are VERY difficult to learn. My advice:





-Try to think of OOP as bycicles.


-Try using the OOP Components of PHP (great lang.)


-Try creating simple apps in Java (a OOP-obsessed lang.)





Good Luck!
Reply:C++ can be a frustrating language to learn. There is a lot of up front learning for pointers and header includes and the like. I would personally recommend learning a language where you can get going faster like C#, but many CS people would disagree with me.





I would recommend walking though some "hello, world" type tutorials and then working my way up to the more advanced ones. That will usually help you learn it faster than just reading the book.
Reply:if u do delete system 32 that will give yuo help btw yuo fail quit life GG UNINSTALL


No comments:

Post a Comment