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.

~352 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for Rahaf_2

i need to read from file two array with two different type (string and intger) but when i wrote the c code to read the file : char ON[row][30]; int RA[row][clo]; int i; int j; FILE*infile; infile=fopen("rane.txt","r"); for(i=0; i<row; i++) { fscanf(infile,"%s",&ON[i]); for (i=1;i<row;i++) for(j=0; j<clo; j++) fscanf(infile,"%d",&RA[i][j]); } then …

Member Avatar for Reverend Jim
0
352