Solution
This worked just fine. The mistake was coming from main. Minor error was ruining my read before i even called it. don't i feel embarrassed. but glad it really wasn't my read function
...
Type: Posts; User: val3ri3
Solution
This worked just fine. The mistake was coming from main. Minor error was ruining my read before i even called it. don't i feel embarrassed. but glad it really wasn't my read function
...
Its not working out
-858993460 -858993460
-858993460 -858993460
-858993460 -858993460
Press any key to continue . . .
thats my output i took off the read
Yes exactly like that! I'm going over the link and changed my loop, but having a little trouble adjusting. Output still the same Changing my code as you read
I do know that my program gets into my file because the "read file" does come up on my output but the values i get along with it are not the same values that i should be getting.
What i needed is...
My txt file im trying to read from is formatted like this
619847GBE 641 998
418712IMB 107 867
227451GEM 789 181
981836KEA 747 171
986516IGU 303 71
i need to read data from my txt file and iv got another function to print, but something must be wrong with my read function b/c my values turn out to be random negatives
read function
int...