HGPA

cpp -- C++

These notes are for people who have not used C++ in a long time -- like myself.

Major interpreters and virtual machines written in C++ include:

Rule of Three -- if a class requires one or more of these, then it probably needs all three:

Initializer lists

There is no true concept of null or nil. NULL is simply a macro that expands to the number 0.

A const function e.g. someFunc(param) const {} makes it a compiler error for class function to change a member variable of the class.

Filename: cpp.md (Edit)
Modified: 2017-02-05 (6a2cc2df4c760e763b973b96156186710825c426)
Created: 2016-12-12 (bfbe7068c9e4979045aec8e54411bbff91bedda0)