Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
I have a txfile.txt file which has the following data: 3 2716 16253 7721 35149 972 2614 I am trying to read the first integer into a variable using this code: [code=c] #include <stdio.h> #include <stdlib.h> int main() { int num_cust[1]; int result; FILE *fp; if( (fp = fopen("tsfile.txt", "r")) … |