RamHardikar
Programmer
Hi,
I have a structure 'Employee' with attributes Name, Age and Salary. I am writing this structure for each employee in a file in binary mode. Also i am able to read structure 'Employee' from the file and display the values of Name, Age and Salary.
My question is can i read individual attributes of the structure (Name, Age and Salary)from the file without using structure? Could anyone help?
I have a structure 'Employee' with attributes Name, Age and Salary. I am writing this structure for each employee in a file in binary mode. Also i am able to read structure 'Employee' from the file and display the values of Name, Age and Salary.
My question is can i read individual attributes of the structure (Name, Age and Salary)from the file without using structure? Could anyone help?