hello
in my project ther is a list of students in SD card in a file like
1,Mr.aaaaab
2,hnjfjmf
3,kjkjsjjjsh
similarly a 40 numbers and their names in this the number is id number and is entered using keypad please help me for the code wich searches for the name for that particular id,as soon as possible
thanks in advance
SravanKumar:
hello
in my project ther is a list of students in SD card in a file like
1,Mr.aaaaab
2,hnjfjmf
3,kjkjsjjjsh
similarly a 40 numbers and their names in this the number is id number and is entered using keypad please help me for the code wich searches for the name for that particular id,as soon as possible
thanks in advance
No, we are not going to provide you with the code.
It is obviously a class assignment which you must complete on your own.
SravanKumar:
hello
in my project ther is a list of students in SD card in a file like
1,Mr.aaaaab
2,hnjfjmf
3,kjkjsjjjsh
similarly a 40 numbers and their names in this the number is id number and is entered using keypad please help me for the code wich searches for the name for that particular id,as soon as possible
thanks in advance
Use a fixed length data record.
Use calculated offset positioning to jump to your wanted record.
file.seek();
Simple.
Chuck.
You could also check out 'File.find()' to find specific strings within a file. e.g. "1," "2," "40," (You'll probably find it in the "Stream" reference.)
I'm sure you can work things out from these answers, without us writing the code for you. 
thank u ijust wanted to know wat are the functions i could use i got those.