#include <iostream>
#include<string>
#include "Teacher.h"
using namespace std;
void Teacher::setName(string _Name) {
m_strName = _Name;
}
string Teacher::getName() {
return m_strName;
}
void Teacher::setAge(int _Age) {
m_iAge = _Age;
}
int Teacher::getAge() {
return m_iAge;
}
void Teacher::setSex(string _Sex){
m_strSex = _Sex;
}
string Teacher::getSex() {
return m_strSex;
}
void Teacher::Teach() {
cout << "比企谷八幡" << endl;
}
Teacher::Teacher() {
m_strName = "比企谷八幡";
m_iAge = 17;
}
Teacher::Teacher(string _Name,int _Age){
m_strName = _Name;
m_iAge = _Age;
}
int main() {
Teacher t1;
Teacher t2("姬小路");
cout << t1.getName() << " " << t1.getAge() << endl;
cout << t2.getName()<< " " << endl;
system("pause");
return 0;
}