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 when i whant it to print it print something like that :
4740024
-61223616
504492512
how i could solve this problem?