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.