get a program to read 3 sets of numbers in columns
get a program to read 3 sets of numbers in columns
well, if i understand you better, this might be the solution
and this is not the complete programe. its up to you to write a main function for thatCode:void getnum(FILE *fp) { int temp[3]; while(fscanf(fp,"%d %d %d",&temp[0],&temp[1],&temp[2])==3) printf("%d %d %d\n",temp[0],temp[1],temp[2]); return; }
ssharish2005
Last edited by ssharish2005; 10-15-2005 at 09:13 PM.