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++" that
most 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.

  1. http://snippets.dzone.com/tag/c/ – Thousands of users tagging and storing useful C language source code snippets
  2. 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.
  3. http://www.planetsourcecode.com/vb/default.asp?lngWId=3 Over a million lines of C and C++ free source code
  4. http://freshmeat.net/browse/164/ Over 9000 project written in C programming language
  5. http://www.daniweb.com/code/c.html – Useful code snippets provided by DANIWEB.
  6. http://www.programmersheaven.com/tags/C/ C programming resources at programmersheaven.com
  7. http://www.ddj.com/code/ddj.html This page gives you access to the source code from Dr. Dobb’s Journal archived by issue.
  8. http://www.cprogramming.com/cgi-bin/source/source.cgi C and C++ programming resources.
  9. http://www.codecogs.com/ CodeCogs is a collaborative open-source library, with numerical components written in C/C++.
  10. http://www.google.com/codesearch?q=programming++lang:c&cs_r=lang:c Google code – C programming language
  11. http://www.codepedia.com/1/C The CodePedia is an open system of content on programming and other computer related topics.
  12. http://www.cis.temple.edu/~ingargio/cis71/code/ This is a list of simple C language programs for students.
  13. http://www.codeproject.com/?cat=2 C/C++ resources provided by The Code Project
  14. 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.
  15. http://people.sc.fsu.edu/~burkardt/cpp_src/cpp_src.html This is a comprehensive list of 345 C++ source codes.
  16. http://www.cplusplus.com/src/ A list of generic consol programs and windows programs written in C++.
  17. 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.
  18. http://c.snippets.org/ The SNIPPETS C Source Code Archives.
  19. http://www.bbdsoft.com/downloads.html C++ source code and utilities
  20. http://www.moshier.net/ Astronomy and numerical software source codes
  21. 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++.
  22. http://cliodhna.cop.uop.edu/~hetrick/c-sources.html Free C/C++ Sources for Numerical Computation,
  23. http://www.mathtools.net/C_C__/Utilities/index.html C/C++ utilities
  24. http://www.programmerworld.net/resources/c_library.htm Free Libraries and Source Code for C++ and others useful tools related to C++.
  25. http://www.cmcrossroads.com/bradapp/links/cplusplus-links.html Brad Appleton’s C++ Links – Resources, projects, libraries, tutorials and coding.
  26. 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.
  27. 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.
  28. ftp://66.77.27.238/sourcecode/cuj/ C/C++ Users journal
  29. ftp://66.77.27.238/sourcecode/wd/ Windows Developer Network
  30. http://www.einet.net/directory/65892/Developers.htm Written in C for C Programmers
  31. http://www.daniweb.com/code/cplusplus.html – Useful code snippets provided by DANIWEB.
  32. http://snippets.dzone.com/tag/c%2B%2B – C++ source code
  33. http://www.programmersheaven.com/tags/C%2b%2b/ C++ programming resources provided by programmersheaven.com
  34. http://www.google.com/codesearch?hl=en&lr=&q=programming+lang%3Ac%2B%2B – Google code – C++ programming language
  35. http://www.codepedia.com/1/Cpp The CodePedia is an open system of content on programming and other computer related topics.
  36. http://www.codebeach.com/index.asp?TabID=1&CategoryID=3 C++ source code provided by Codebeach
  37. http://freshmeat.net/browse/165/ Over 5000 projects written in C++ programming language
  38. 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.
  39. http://www.c.happycodings.com/ Happy Codings – Programming Resources & Code Examples for Visual Basic, Java, PHP, asp, C, C++, Assembly.
  40. http://www.blueparrots.com/ Borland C source code examples for games, graphics and sound.
  41. http://www.java2s.com/Code/Cpp/CatalogCpp.htm C++ source code organised by topics.
  42. http://www.yeohhs.com/modules/mydownloads/ C & C++ eBooks and example source codes that show how to develop various Windows programs easily.
  43. http://www.brpreiss.com/books/opus4/programs/index.html Over 300 C++ source code for mathematical equations and formulas.
  44. http://users.cs.fiu.edu/~weiss/phc++/code/ Sample Source Code for C++ for Java Programmers.
  45. http://www.josuttis.com/libbook/examples.html The C++ Standard Library – A Tutorial and Reference.
  46. http://emr.cs.uiuc.edu/~reingold/calendars.shtml Edward M. Reingold’s Calendar Book, Papers, and Code.
  47. http://cpp.snippets.org/ The SNIPPETS C++ Source Code Archives.
  48. http://ubiety.uwaterloo.ca/~tveldhui/papers/techniques/ Techniques for solving scientific problems in C and C++.
  49. http://c.ittoolbox.com/topics/core-c/ C/C++ IT tool box.
  50. 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.
55 Shares
Share26
+11
Tweet
Share
Stumble28