5
Answers

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

Ask a question
Ken H

Ken H

12y
2.1k
1
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)