// Three files in one paste!
// interface.cpp
#include <iostream>
#include <string>
#include "person.h"
int main()
{
person personObject;
return (0);
}
// memberfunctions.cpp
#include <iostream>
#include <string>
person::person (string name, int age, int weight)
{
}
// person.h
#include <string>
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;
};