|
-
Jan 24th, 2002, 11:27 AM
#1
Thread Starter
Addicted Member
File Loop Help
do
{
inFile >> arrProNum[cnt] >> arrProDesc[cnt] >> arrProPrice[cnt] >> arrProTax[cnt];
total++;
}
This loop refuses to input from a file. Here is the text in the file:
00001 Bread 2.00 N
00002 Butter 2.35 T
00003 Soup 3.59 N
00004 Carrots 2.79 N
00005 Potatos 5.89 T
Anybody know why this does not loop these products into these parallel arrays?
Thanks much in advance.
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
|