PDA

View Full Version : direct accessing


mald
02-28-2004, 07:43 PM
hi der i'm a student programmer. i've made a system that uses a sequencial accessing now they want that i will convert it to direct accessing for faster communicating w/ the computer.

my problem is how can i able to seek the pointer of the file to the record i want. i used the fseek but it doest work.

when i've used this the out put was,
sample file
sam 3 5
mark 10 9
she 11 12
i want to read the 2nd record w/c is mark but the output is m.
i think the pointer is going on horizontal to the data i've inserted.
i want that it will be going down to what i want.

can u pls help me........