// Three files in one paste! // interface.cpp #include #include #include "person.h" int main() { person personObject; return (0); } // memberfunctions.cpp #include #include person::person (string name, int age, int weight) { } // person.h #include using namespace std; class person { // A list of prototypes of member functions. public: person ( string, int, int ); // A constructer that sets the value of 'string person, int age and int weight'. void setName ( string ); // Member function that sets the name of person. void setAge ( int ); // Member function that sets the age of a person. void setWeight ( int ); // Member function that sets the weight of a person. int getAge(); // int getWeight(); private : string name; int age; int weight; };