i have opened my file
ofstream outfile;
outfile.open ("file name",ios::app);
can i put
ifstream infile;
infile.open ("file name",ios::app);
enter the details
i want to compare whatever i typed in to see if the record already exists.
how do i do it?