PDA

View Full Version : C++ problems? Need to learn oo.



dougleduck
March 15th, 2009, 11:48 AM
Searching for C++ tutorials seems to be complete lack of exercises, lots of tutorials.

Need to learn the more advanced ideas from classes and up, but you only learn by doing. Have I lost the google knack?

mr.propre
March 15th, 2009, 11:59 AM
Just an idea, but you just could buy a book about oo (and not about C++) In the end oo isn't linked to one program language but is more a way of programming and thinking.

issih
March 15th, 2009, 12:06 PM
http://java.sun.com/docs/books/tutorial/java/concepts/

http://aonaware.com/OOP1.htm

Or indeed any of :

http://www.google.co.uk/search?q=oo+programming+tutorial&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a

If those don't suit you, I agree that there is no need to start with c++ to learn oo, in many ways it might be the worst language to start on, as it has a lot of features that are no considered either a bad idea or at the very least a hugely complicated idea, most notable multiple inheritance. In addition it contains a lot of code handling memory management that can distract from the ideas, whereas higher level garbage collected languages don't.

I say learn on something simpler, like jave, but that is just my opinion, and frankly it becomes a holy war the minute the subject if what to learn is raised.

mikewhatever
March 15th, 2009, 12:07 PM
Take a look at this link. http://en.wikibooks.org/wiki/C%2B%2B

dougleduck
March 15th, 2009, 12:12 PM
Some good links, thanks. It's C++ I need to learn the oo concepts with. Think I might need to get a book, library here I come, just thought the Internet would provide more thoroughly.

issih
March 15th, 2009, 12:26 PM
The 2nd link I provided was c++ based, and there are a squillion if you google 'oo programming tutorial' or something similar

mikewhatever's link looks pretty darn good too.

Books are nice to have though, easier on the eyes

Hope that helps

mr.propre
March 15th, 2009, 12:33 PM
Some good links, thanks. It's C++ I need to learn the oo concepts with. Think I might need to get a book, library here I come, just thought the Internet would provide more thoroughly.

Well, the internet can help you with books. A few programmers/writers/university's release books free of charge. I learned PHP using a paper from a dutch programmer/professor and CSS2 using the documentation from a Mexican university. And a little google on "free c++ books" gives you a few good results.

http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html
http://www.computer-books.us/cpp.php
http://www.thefreecountry.com/documentation/onlinecpp.shtml
http://www.onlinecomputerbooks.com/free-c++-books.php

cmay
March 15th, 2009, 01:20 PM
there is also a programming talk subforum here in ubuntu forums.
check out the sticky when you have time.
good luck