Ok the final part of the project which is a little trouble some,..
lets say that the following is the way a MAIN looks:
#include<iostream>
#include "employee.h"
#include "List.h" //a link list class
Now lets say i make a list object called "MyList"
How do i add five employee objects to the list
the list has the following functions:
class List
{
Node* first;
int count;
public:
List();
bool insert(Employee& s);
int size();
void display();
Employee& operator[](int n);
~List();
};
] I tried searching the book,.. but couldn't find an example,..
Thanks