I'm working on a project and i'm having a bit of trouble. the basic idea is to make an employee database using a basic structure. the program is to have 3 files and in the header file the professor wants the function prototype to be:
int addEmployee (struct employee *, int);
I've got the employee structure set up and the integer is just the current # of employee's so no problem there. My only real issue comes from the first parameter. We're supposed to have an array that stores every employee that is created, but i dont know how to create/'name' new employee's on the fly.
So my real question I guess is how do i set up my function call and definition?