Ken H

Ken H

  • NA
  • 646
  • 361.7k

How to use random read and write the suffix name for ".txt" file data block

Mar 1 2012 3:38 AM
hi,
  How to use random read-write file method, taking the value assigned to the member list in C language.
struct LibraryManage
{
   char StudentID[20];
   char BookIndex[20];
   char LoanBookTime[20];
};   


the "LoanBook.txt" Content is as follows:
StudentID           BookIndex       LoanBookTime
20101001            C01               10/8/2010
20101002            CPP02             12/9/2010


thanks.


Answers (5)