views:

124

answers:

3

Can anyone recommend any open source projects written in C++ for educational purposes? Ideally it should be

  • well written
  • full of comments
  • lots of design patterns in use
  • easy to compile and run
  • useful to use

Edit: I have some experience in programming (C language) and OOP (Java). I just thought learning C++ with a real project would be interesting.

+1  A: 
  1. boost

  2. loki

plan9assembler
Boost for learning ? I admit it is nice to use but not exactly nice to understand !
ereOn
OP said understanding is not an option.
plan9assembler
@ereOn Well boost surely has *lots of design patterns in use* and is *useful to use*
Mr Shunz
@plan9assembler: Where does he says this ? @Mr Shunz: Sure. But it wouldn't be my first choice to teach C++ to someone. No doubt that boost is very well written but suggesting to new-comers to digg into a massive templated code is not right imho.
ereOn
@ereOn: Okay, OP haven't said understanding is an option.
plan9assembler
A: 

Kde is made up pf lot of open source sub projects and you can also find the kde hacking guide to get started.

http://aseigo.blogspot.com/2007/09/getting-into-kde-hacking.html

It also meets the requirement you set above.

Ankur Gupta
A: 

There is a very similar question here: http://stackoverflow.com/questions/3130683/looking-for-well-presented-well-documented-open-source-projects.

And my answer is the same, try to look at Ogre3D, it's very well documented open-source engine.

virious
Looking for C++ projects. I will have a look at Ogre3D. Thanks.
Chrys