0

Sir,
I need ur help in the Following Assignement.
I have to write a program to store the Employee details i.e rollno,Department,salary,name,experience etc using the file operation.
plz help me!
Urs
PriyaJaiGanesh

3
Contributors
2
Replies
3
Views
12 Years
Discussion Span
Last Post by alc6379
0

Hello Priya!
here are some Clue

struct employee
{
int rollno;
int Department;
int salary;
char name[20];
int experience;
};

class FileEmployee
{
employee local;
public:
FileEmployee()
{
//Open file Here
}
void AddData(employee &args)
{
//add data
};
void Showdata()
{
//show data
}

};

this is Skeleton of you program

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.