added C++ examples (pointer, classes, objects, copy constructor