How would this be written with the following information:
Create a Person class. This class has the following private members:
Write a default constructor that initializes the name and lastname to “UNKNOWN” and ID to -1;
Write a constructor that takes, a string for name, a string for last name and an int for ID;
Write a public member method called display () that prints out the data of a person (name, last name and ID).
In your main (), create two objects of type Person, one using the default constructor and one initialized to your name, last name and an arbitrary ID. Call the display() method for both objects.
Just do each thing, one at a time.
It's telling you to write a class and it already gives you exactly what properties you need to put in the body of the class. If you don't know how to make a class and a constructor, read any C++ class tutorial. http://www.cplusplus.com/doc/tutorial/classes/