I have had a course on C++ and have done some minor projects on implementing data structures in C++. Can I find a not-so-difficult good open source C++ project that follows good programming styles. I want to have an understanding of a real project.
The C language is not a piece of software but a defined standard, so one wouldn't say that it's open-source, but rather that it's an open standard. There are a gazillion different compilers for C however, and many of those are indeed open-source.
It is common practice across most platforms (ie: UNIX, Microsoft Windows, etc) that C source code files end with the ". c" extension. This is in contrast to C++ source code files which can and do vary in ending from ". cc" to".
Search on Google Code Project Hosting or SourceForge, or even better still, do a search for C++ projects on Ohloh. Unfortunately you cannot do searches on code quality, but at least you can see a report on the projects page to find some with good quality metrics and relatively small codebases.
Some projects that I've come across with good code quality and in c++:
More importantly, just look around and see if a software you like and use often is developed in C++. You'll have a greater incentive to contribute and to see your changes in real-life and used by others.
You may also want to refer yourself to these other SO questions:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With