--- C++ Cabinet • Matt Twells

~/cabinet/cpp

C++ Cabinet

Concepts I have studied, explanations written in the language that made them click, and small examples that are rebuilt instead of merely trusted. This is a file cabinet, not a textbook—open the drawer you need.

1 example

10 sections

C++ Types

C++ guarantees minimum sizes, not exact sizes. Actual size depends on platform (but on modern 64-bit systems there are common conventions).

open drawer →

2 examples

8 sections

CLASSES

A class, put simply, is a user-defined type that groups data and behavior together. In plain-old-data (POD) classes in C++, you can only have data members within them.

open drawer →