Posts
 
Reputation
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
~153 People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for JohnGrey

#include<stdio.h> main() FILE *pToFile; int input[512],i,j,k,l; pToFile=fopen("data.txt","r"); if (pToFile !=NULL) { fscanf(pToFile,"%d%d %d %d %d",input,&i,&j,&k,&l); printf("%d\n%d\n%d\n %d\n %d\n %d\n", input,i,j,k,l); fclose(pToFile); } else { printf("could not open the file \n"); } return(0); } i was wondering why this code doesn't want to work? and if theres any another way i …

Member Avatar for rubberman
0
153

The End.