First off: please wrap any code you include in [code][/code]-tags, it makes it more readable.
Also, if you have any questions, please state them clearly and specifically.
Are you getting compiler errors or runtime errors, which ones? What is the program supposed to do?
You should be getting a compiler error from line 16 and 17, where you have string getName() (no closing semicolon) and Private: (incorrect capitalization of a keyword, C++ is a case-sensitive language).