hello again
thanks for helping me out in all stuffs everyone : ) but now i think i'm facing another problem with my program....
how can we actually check, if a file has nothing at all (Blank), then the program would prompt the user theres no such record.
i tried:
for(i=0;i<1000;i++)
{
if(add[i].staff_id=='\0')
cout<<"No such record(s)"<<endl;
}
looks logical right?