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

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

We don't do your homework here for you. Please read the Announcement.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.