C++ notes init, converted mainly from my old class notes