c++ personal review - pointer, struct, iostream, dynamic memory