I made a project on telephone directory.
I have used single class and my reading and writing in the file is done by
fin.[write/read]((char*)&object,sizeof(object));
Now the problem is during searching a particular name or phone no. is just read the file and match the name or the phone no. in each record.
Now is there any method or way i which my searching speed is increased and it can handle large datas.
Plzz help me