FILE HANDLING:- file handling is an un manage resources of our application.
OPENING AND CLOSING OF A FILE : – The file name is a string of characters that make up a valid file name.for example the OPERATING SYSTEM it may contain two parts A primary name and an optical extension part. EXAMPLE void main( ){clrscr( ); ofstream file(“filename.dat”) \\creating a file you can use any extention after file nameor ofstream file(“d:\filename.dat”) \\creating a file you can use any extention after file nameint eid,sal; \\variable declaration char name[20]; cout<<"enter emp id :";cin>>eid; \\ input emp idcout<<"enter name:";gets(name); \\input namecout<<"enter salary : ";cin>>Sal; \\input salaryfile& lt;


