views:

83

answers:

5

Hi there

Im trying to learn OOP but I need to see some real case scenarios of using C++. For me, as a beginner in programming internet is too big and the book is too few examples. All I find on the source repositories are large projects or too few details.

Can you give me a link to some c++ projects which are good for beginners? It will be great if the samples have some details about good practices.

maybe some universities are hosting such projects or maybe you know a webpage with samples and contests about how to program in C++ and it is good for beginners.

+1  A: 

I'd recommend starting at the C++ Language Tutorial. There are lots of good examples there, including a section on OOP.

Bill the Lizard
A: 

If you want to learn OOP try looking at these lecture videos, they are fantastic for beginners its in Java but you shouldnt limit yourself to C++ as a learning platform.

http://www.youtube.com/watch?v=KkMDCCdjyW8

kyndigs
TY, but atm I'll stay with C++ on windows using eclipse-cdt IDE. I'm not sure if eclipse is the best tool for a beginner yet.
dole
A: 

I've found such a sample project. The problem is that it is documented well, but the documentation-language is German. There additionally are some classnames which are German etc. There also is no documentation like a class diagram included.

I've written that project some months ago to show a new apprentice some C++ and some object-oriented tasks. Hope its not too complex for your purposes.

This example is not perfect, but perhaps it is what you're searching or other users could get a better idea of what is questioned.

Download (Rapidshare.com)

PS: How should someone upload such things in the future? There are serveral source-files included (pastebin wouldn't be good for something like that). I wouldn't use Sourceforge for such a project. Is there something like a stackoverflow-attachment feature?

MOnsDaR
Learn German ! :)
Raveline
ty! thats soo cool idea. My native language is italian but german language is on my "to learn list" bc i like your country too.
dole
A: 

You can take a look at this C++ book: C++ Primer which has good practice exercises and there is also a Answer book for the exercise problems.

codaddict
A: 

In addition to all the fabulous lectures / books, I'd encourage you to practice a few times. I enjoy using the bowling kata exercise for this. Technically, this is a refactoring exercise but it is quite fun and I believe effective.

Rick