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 software, operating systems, games and other scientific tools and utilities are developed using C/C++.

In this list, I am going to share 50 outstanding websites and web pages which I believe every C or C++ developer should know and bookmark. This list provides direct links to programming source codes along with their description.

Some of you might think that 50 websites are not enough however I have tried to include the best C/C++ source code websites so that you get best source code examples.

If I’ve missed any website that you’ve found helpful, please make sure to mention them in the comments.

  1. https://www.cplusplus.com/ The C++ Resources Network
  2. https://www.w3schools.com/cpp/ W3Schools C++ Tutorial
  3. http://www.open-std.org/jtc1/sc22/wg21/ The C++ Standards Committee
  4. https://cppreference.com/ C++ Reference website
  5. https://www.onlinegdb.com/ C/C++ Online Compiler
  6. https://www.hotscripts.com/category/c-cpp/scripts-programs/ HotScripts provides hundreds of C and C++ scripts and programs. All the programs are organized into different categories.
  7. https://sourceforge.net/directory/ Over 75,000 project written in C/C++ programming language
  8. https://www.daniweb.com/tags/c/code – Useful code snippets provided by DANIWEB.
  9. https://programmersheaven.com/categories/candcpp C programming resources at programmersheaven.com
  10. http://www.ddj.com/code/ddj.html This page gives you access to the source code from Dr. Dobb’s Journal archived by issue.
  11. http://www.cprogramming.com/cgi-bin/source/source.cgi C and C++ programming resources.
  12. http://www.codecogs.com/ CodeCogs is a collaborative open-source library, with numerical components written in C/C++.
  13. http://www.google.com/codesearch?q=programming++lang:c&cs_r=lang:c Google code – C programming language
  14. http://www.codepedia.com/1/C  The CodePedia is an open system of content on programming and other computer related topics.
  15. http://www.cis.temple.edu/~ingargio/cis71/code/ This is a list of simple C language programs for students.
  16. http://www.codeproject.com/?cat=2 C/C++ resources provided by The Code Project
  17. 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.
  18. http://people.sc.fsu.edu/~burkardt/cpp_src/cpp_src.html This is a comprehensive list of 345 C++ source codes.
  19. http://www.cplusplus.com/src/ A list of generic console programs and windows programs written in C++.
  20. 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.
  21. http://www.bbdsoft.com/downloads.html C++ source code and utilities
  22. http://www.moshier.net/ Astronomy and numerical software source codes
  23. 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++.
  24. http://cliodhna.cop.uop.edu/~hetrick/c-sources.html Free C/C++ Sources for Numerical Computation,
  25. http://www.mathtools.net/C_C__/Utilities/index.html C/C++ utilities
  26. http://www.programmerworld.net/resources/c_library.htm Free Libraries and Source Code for C++ and others useful tools related to C++.
  27. http://www.cmcrossroads.com/bradapp/links/cplusplus-links.html  Brad Appleton’s C++ Links – Resources, projects, libraries, tutorials and coding.
  28. 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.
  29. 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.
  30. ftp://66.77.27.238/sourcecode/cuj/ C/C++ Users journal
  31. ftp://66.77.27.238/sourcecode/wd/ Windows Developer Network
  32. http://www.einet.net/directory/65892/Developers.htm Written in C for C Programmers
  33. http://www.daniweb.com/code/cplusplus.html – Useful code snippets provided by DANIWEB.
  34. http://snippets.dzone.com/tag/c%2B%2B – C++ source code
  35. https://developers.google.com/edu/c++ – Google Code – C++ programming language
  36. http://www.codepedia.com/1/Cpp The CodePedia is an open system of content on programming and other computer related topics.
  37. http://www.codebeach.com/index.asp?TabID=1&CategoryID=3 C++ source code provided by Codebeach
  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.java2s.com/Code/Cpp/CatalogCpp.htm C++ source code organized by topics.
  41. http://www.brpreiss.com/books/opus4/programs/index.html Over 300 C++ source code for mathematical equations and formulas.
  42. http://users.cs.fiu.edu/~weiss/phc++/code/ Sample Source Code for C++ for Java Programmers.
  43. http://www.josuttis.com/libbook/examples.html  The C++ Standard Library – A Tutorial and Reference.
  44. http://emr.cs.uiuc.edu/~reingold/calendars.shtml Edward M. Reingold’s Calendar Book, Papers, and Code.
  45. http://c.ittoolbox.com/topics/core-c/ C/C++ IT tool box.
  46. https://www.cs.utah.edu/~germain/PPS/Topics/C_Language/the_C_language.html – C Programming Page
  47. https://www.udemy.com/topic/c-programming/ – Udemy C Programming Courses
  48. https://www.udemy.com/topic/c-plus-plus/ – Udemy C++ Programming Courses
  49. https://hackr.io/tutorials/learn-c – C Programming Tutorials and Courses
  50. http://www.ece.mtu.edu/labs/EElabs/EE3306/Revisions_2008/C_Programming_Tutorial.htm – C Programming Tutorial (K&R version 4)