View Single Post
Join Date: Jan 2009
Posts: 3
Reputation: benchCUB is an unknown quantity at this point 
Solved Threads: 0
benchCUB benchCUB is offline Offline
Newbie Poster

structure and reading a text file

 
0
  #1
Jan 7th, 2009
hi,
how can i read a text file "textfile.txt" with a structure? (in C)
thanks



the structure is in this form.
  1. typedef struct list
  2. {
  3. char ID[9];
  4. char YR[10];
  5. char lname[14];
  6. char fname[24];
  7. }LIST[256];
Last edited by Ancient Dragon; Jan 7th, 2009 at 10:34 am. Reason: add code tags
Reply With Quote