It’s well known that C/C++ languages are the most dominant programming languages around. As I mentioned in the previous post "Top 10 best applications written in C/C++" thatmost of the big softwares, operating systems, games and other scientific tools and utilities are developed in C/C++. In this post, I have found 50 outstanding websites and web pages providing source codes for and programs written in C/C++. This list provides direct links to programming source codes along with their small description.
I have tried to include the best C/C++ source code websites. This is not a complete list so you can suggest me any links which you think is missing and I will welcome your suggestions to further enhance this list.
http://snippets.dzone.com/tag/c/ - Thousands of users tagging and storing useful C language source code snippets
http://www.hotscripts.com/category/c-cpp/scripts-programs/ Hotscripts provides hundreds of C and C++ scripts and programs. All the programs are organised into different categories.
http://www.planetsourcecode.com/vb/default.asp?lngWId=3 Over a million lines of C and C++ free source code
http://freshmeat.net/browse/164/ Over 9000 project written in C programming language
http://www.daniweb.com/code/c.html - Useful code snippets provided by DANIWEB.
http://www.programmersheaven.com/tags/C/ C programming resources at programmersheaven.com
http://www.ddj.com/code/ddj.html This page gives you access to the source code from Dr. Dobb’s Journal archived by issue.
http://www.cprogramming.com/cgi-bin/source/source.cgi C and C++ programming resources.
http://www.codecogs.com/ CodeCogs is a collaborative open-source library, with numerical components written in C/C++.
http://www.google.com/codesearch?q=programming++lang:c&cs_r=lang:c Google code – C programming language
http://www.codepedia.com/1/C The CodePedia is an open system of content on programming and other computer related topics.
http://www.cis.temple.edu/~ingargio/cis71/code/ This is a list of simple C language programs for students.
http://www.codeproject.com/?cat=2 C/C++ resources provided by The Code Project
http://www.thefreecountry.com/sourcecode/cpp.shtml Here are some C and C++ libraries, DLLs, VCLs, source code, components, modules, application frameworks, class libraries, source code snippets, and the like, that you can use with your programs without payment of fees and royalties.
http://people.sc.fsu.edu/~burkardt/cpp_src/cpp_src.html This is a comprehensive list of 345 C++ source codes.
http://www.cplusplus.com/src/ A list of generic consol programs and windows programs written in C++.
http://users.cs.fiu.edu/~weiss/dsaa_c++/code/ Here is the source code for Data Structures and Algorithm Analysis in C++ (Second Edition), by Mark Allen Weiss. The materials here are copyrighted.
http://c.snippets.org/ The SNIPPETS C Source Code Archives.
http://www.bbdsoft.com/downloads.html C++ source code and utilities
http://www.moshier.net/ Astronomy and numerical software source codes
http://cplus.about.com/od/cgames/C_Games_with_Source_Code.htm C++ Games with Source Code - This has links to downloads of games with source code in C++.
http://cliodhna.cop.uop.edu/~hetrick/c-sources.html Free C/C++ Sources for Numerical Computation,
http://www.mathtools.net/C_C__/Utilities/index.html C/C++ utilities
http://www.programmerworld.net/resources/c_library.htm Free Libraries and Source Code for C++ and others useful tools related to C++.
http://www.cmcrossroads.com/bradapp/links/cplusplus-links.html Brad Appleton’s C++ Links – Resources, projects, libraries, tutorials and coding.
http://www.robertnz.net/cpp_site.html A list of websites and files of interest to C++ users. This is a collection of hundreds of sites for C/C++ Programmers.
http://www.josuttis.com/libbook/examples.html Here, you can see and download all examples of the book The C++ Standard Library - A Tutorial and Reference by Nicolai M. Josuttis.
ftp://22.214.171.124/sourcecode/cuj/ C/C++ Users journal
ftp://126.96.36.199/sourcecode/wd/ Windows Developer Network
http://www.einet.net/directory/65892/Developers.htm Written in C for C Programmers
http://www.daniweb.com/code/cplusplus.html - Useful code snippets provided by DANIWEB.
http://snippets.dzone.com/tag/c%2B%2B – C++ source code
http://www.programmersheaven.com/tags/C%2b%2b/ C++ programming resources provided by programmersheaven.com
http://www.google.com/codesearch?hl=en&lr=&q=programming+lang%3Ac%2B%2B – Google code – C++ programming language
http://www.codepedia.com/1/Cpp The CodePedia is an open system of content on programming and other computer related topics.
http://www.codebeach.com/index.asp?TabID=1&CategoryID=3 C++ source code provided by Codebeach
http://freshmeat.net/browse/165/ Over 5000 projects written in C++ programming language
http://cplus.about.com/od/codelibrary/Code_Library_for_C_C_and_C.htm Code Library for C, C++ and C# - The Code Library with source code for all examples and free downloads for this topic.
http://www.c.happycodings.com/ Happy Codings - Programming Resources & Code Examples for Visual Basic, Java, PHP, asp, C, C++, Assembly.
http://www.blueparrots.com/ Borland C source code examples for games, graphics and sound.
http://www.java2s.com/Code/Cpp/CatalogCpp.htm C++ source code organised by topics.
http://www.yeohhs.com/modules/mydownloads/ C & C++ eBooks and example source codes that show how to develop various Windows programs easily.
http://www.brpreiss.com/books/opus4/programs/index.html Over 300 C++ source code for mathematical equations and formulas.
http://users.cs.fiu.edu/~weiss/phc++/code/ Sample Source Code for C++ for Java Programmers.
http://www.josuttis.com/libbook/examples.html The C++ Standard Library - A Tutorial and Reference.
http://emr.cs.uiuc.edu/~reingold/calendars.shtml Edward M. Reingold’s Calendar Book, Papers, and Code.
http://cpp.snippets.org/ The SNIPPETS C++ Source Code Archives.
http://ubiety.uwaterloo.ca/~tveldhui/papers/techniques/ Techniques for solving scientific problems in C and C++.
http://c.ittoolbox.com/topics/core-c/ C/C++ IT tool box.
http://www.le.ac.uk/cc/tutorials/c/ccccdbas.html This document contains numerous example programs to provide a practical aid for learning C programming language.