Public paste
asdff
By: asdff | Date: Nov 3 2008 21:38 | Format: None | Expires: never | Size: 510 B | Hits: 545

  1. #include "LL.h"
  2.  
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     student students;
  9.     masterLL master;
  10.     int loop = 0;
  11.     while(loop==0)
  12.     {
  13.     cout << "enter university: ";
  14.     cin >> students.university;
  15.     cout << "nenter name: ";
  16.     cin >> students.name;
  17.    // cout << "nnName: " << students.name << "nSchool: " << students.university << endl;
  18.     master.addStudent(students);
  19.    
  20.     cout <<"nnanother? ";
  21.     cin >> loop;
  22.     }
  23.  
  24.    
  25.     system("PAUSE");
  26.     return 0;
  27. }