school/cs142/smcquay/people/person-test.cc
2016-04-06 20:45:34 -07:00

18 lines
270 B
C++

#include <iostream>
using std::cout;
using std::endl;
#include "person.h"
int main(int argc, char * argv[])
{
person p;
p.populate_data();
cout << p << endl;
cout << p.as_string() << endl;
person p2("derek mcquay", 21);
cout << p2 << endl;
}