Skip to Content

Index of C/C++ Pages

The most comprehensive C/C++ reference site is CPPReference.com, its main page is C++ but it also has a section on C. Because it is extensive and uses official definitions, it can sometimes be hard to read, but once you get used to it, it is great.

(mostly) Plain C Pages (mostly) C++ Pages
Introduction to C/C++ Non-OOP C++ Features
The C Preprocessor C++ Pointers and References
Compiling and Linking OOP Fundamentals
Command-line Arguments OOP Inheritance
C Input and Output OOP Polymorphism
Plain C Strings C++ Strings
C Pointers C++ IO Streams
Structs and Unions C/C++ Numeric Conversion from Strings
Using Const C++ Friend Functions
The Make Tool The Gnu Debugger
Valgrind Memory Debugger Commenting Code

Interesting other resources

Yale professor James Aspnes has great notes on C and other topics. Chapter 4 is a great resource for C, and Chapter 3 is good for learning how to use Linux and various tools.

Awesome Modern C++ is a good C++ collection site.

CPlusPlus.com is a more beginner-friendly intro. So is Learn-C.org

W3Schools.com also has content for C/C++, along with many other programming and markup languages.

Reading style guides can teach you a lot about how professionals use a language. This is Google’s C++ Style Guide.

ISO C++ is the official place that C++ is documented, standardized, and evolved.

This ISO C site seems to maintain (at least links to) the C standards.

Wikipedia:C++ keeps lots of good links.

Documentation from Gnu is pretty extensive too. Here’s the Gnu C Library and the Gnu C Compiler.

FmtLib, an alternative formatted output method