asdfa
By: asdfa | Date: Nov 3 2008 21:35 | Format: C++ | Expires: never | Size: 975 B | Hits: 1055
- #include <iostream>
- #include <string>
- using namespace std;
- class student
- {
- public:
- string name;
- string university;
- };
- class subLL
- {
- public:
- class node
- {
- public:
- student data;
- node *next;
- };
- node* head;
- subLL();
- void add(student s);
- void displayALL();
- };
- class masterLL
- {
- public:
- class node
- {
- public:
- string university;
- subLL students;
- node *next;
- };
- node *head;
- masterLL();
- void addStudent(student s);
- void listStudentsFromUniversity(/*string univ*/);
- };
Latest pastes
17 hours ago
2 days ago
3 days ago
6 days ago
7 days ago