Simple C ++ Project Examples

I'm trying to learn OOP, but I need to see some real C ++ usage scenarios. For me, since the newbie in programming the Internet is too big, and the book has too few examples. All I find in the source repositories is big projects or too few details.

Can you give me a link to some C ++ projects that are good for newbies? It will be great if the samples provide some information about good practices.

Perhaps some universities have such projects, or perhaps you know a web page with samples and contests on how to program in C ++, and this is good for beginners.

+4
source share
6 answers

I would recommend starting with the C ++ Language Tutorial . There are many good examples here, including a section on OOP.

+1
source

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

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

0
source

I found such a sample project. The problem is that it is well documented, but the documentation language is German. In addition, there are some class names that are German, etc. Also there is no documentation like class diagram.

I wrote this project a few months ago to show the new student some C ++ and some object-oriented tasks. Hope this is not too complicated for your purposes.

This example is not perfect, but maybe this is what you are looking for, or other users can better understand what is asked.

Download (Rapidshare.com)

PS: How will anyone upload such things in the future? There are several source files (pastebin is not suitable for something like this). I would not use Sourceforge for such a project. Is there something like stackoverflow-attachment function?

0
source

You can take a look at this book in C ++: C ++ Primer , which has exercises for good practice, and also has a Response book for exercise problems.

0
source

In addition to all the fabulous lectures / books, I would advise you to practice several times. I like to use bowling kata for this. Technically, this is a refactoring exercise, but it's pretty fun, and I find it effective.

0
source

This week I made a screencast of a bowling game in C ++. You can look here:

http://www.cheezyworld.com/2011/01/12/bowling-game-in-c/

0
source

All Articles