| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #include <string>
- #include "Student.h"
- Student::Student(){
- fname = "";
- lname = "";
- Date birthday;
- Date gradday;
- Address address;
- gpa = "";
- credits = "";
- }
- Student::Student(std::string fname,
- std::string lname,
- Date * birthday,
- Date * gradday,
- Address * address,
- std::string gpa,
- std::string credits){
- this->fname = fname;
- this->lname = lname;
- this->birthday = * birthday;
- this->gradday = * gradday;
- this->address = * address;
- this->gpa = gpa;
- this->credits = credits;
- };
- std::string Student::getFname(){
- return fname;
- }
- std::string Student::getLname(){
- return lname;
- }
- Date Student::getBirthday(){
- return birthday;
- }
- Date Student::getGradday(){
- return gradday;
- }
- Address Student::getAddress(){
- return address;
- }
- std::string Student::getGpa(){
- return gpa;
- }
- std::string Student::getCredits(){
- return credits;
- }
|