Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #include <fstream>
  2. #include <iostream>
  3. #include <cstring>
  4. #include <string>
  5. #include <iomanip>
  6. #include <cstdlib>
  7. #include <vector>
  8. #include "studentList.h"
  9. #include "student.h"
  10.  
  11. bool studentList::addStudent(student st)
  12. {
  13. if ((stuList.size())>=maxSize)
  14. return false;
  15. stuList.push_back(st);
  16. return true;
  17. }
  18.  
  19. /*void studentList::writeData(ostream& outfile, student)
  20. {
  21. outfile << student;
  22. }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement