Ask HN: Open Source projects for a C and C++ begginer.

7 points by dysoco ↗ HN
Hello. I have experience using C and C++, I have done some basic things like a simple Socket Chat application in C or a Space Invaders in C++ using SFML2... but I'd like to read some well documented/written code, understand how it works and try to submit a patch.

I downloaded the Mozilla-Central code because the Documentation is excellent: however it's a really huge project, and not only involves Firefox but most of Mozilla's code base like Thunderbird and Boot2Gecko, and that confuses things even more.

Which one do you suggest ?

6 comments

[ 2.8 ms ] story [ 23.3 ms ] thread
Start with the PH7 engine which is an open source embedded PHP engine (useful tool to add web interfaces to your C/C++ application). It have a very nice and clean documentation and readable code. Here is the URL: http://ph7.symisc.net/
Similar situation here, at the moment I've found interesting cppcmms (web framework), odb (orm) and ultimate++ (cross ui framework)
well, I've played around with some Firefox code, but to be honest its pretty messy. I'd say if you want a project you can fairly easily understand and submit a patch for look at webkit, the code is clean and straightforward (http://www.webkit.org/building/checkout.html) though the docs are basically non-existent (if you like docs, personally I think clean code beats documentation any day)
I have read good things about Webkit, it looks a huge project: but I'll check it out.