Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good open source code for C++ [closed]

Tags:

c++

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.

like image 526
Dimitri Avatar asked Dec 01 '10 12:12

Dimitri


People also ask

Is C closed source?

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.

What does C source code end with?

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".


1 Answers

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++:

  • Relatively small codebase:
    • Code::Blocks
    • InkScape
    • Mona OS
    • VLC
  • Not that easy to get into:
    • Blender
    • Chromium
    • SpiderMonkey
  • Never really looked at but could be interesting:
    • CodeLite
    • eMule
    • ScummVM

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:

  • C++ projects for beginners,
  • Open-source project for C++ developer.
like image 108
haylem Avatar answered Oct 08 '22 09:10

haylem