A really basic question. About reading binary file.
How can I read a particular number of records from a binary file.
For example, there is a file, whose records are like:
John 23 8888888
Mike 19 7777777
Rose 20 9999999
.
.
.
.
According to the order, they are name, age and phonenumber. Of course, they are binary records. Now, there are thousands of records in it, I just want to read three people out, how can I do? I know this is a really basic question, please help me. Thanks so much!