|
-
Aug 16th, 2001, 04:01 AM
#1
Thread Starter
New Member
File I/O -- c++
I have a file that has the following data:
a12 (where a1 is supposed to be a variable called inclass and 2 means the number of records in the file)
andrew1234567abcdefgh
bingoa7654321asdasahd
and a
struct personal {
char name[6];
char number[7];
char instring[8];
};
how should i go about reading the data into the struct using c++ statements?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|