Skip to content

Instantly share code, notes, and snippets.



Created Feb 12, 2019
What would you like to do?
Implementation of Person class: Person.cpp
#include "Person.h"
void Person::setName(string name){
this->name = name;
string Person::getName(){
return this->name;
void Person::setAge(int age){
this->age = age;
int Person::getAge(){
return this->age;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment