for(x=1;x<=num;x++)
{
gotoxy(1,y);
scanf ("%s",&player[x].rank);
fprintf(f," %s",player[x].rank);
gotoxy(8,y);
scanf("%s",&player[x].name);
fprintf(f,"%s ",player[x].name);
gotoxy(26,y);
scanf ("%s",&player[x].region);
fprintf(f,"%s",player[x].region);
gotoxy(39,y);
scanf("%s",&player[x].totalp);
fprintf(f,"%s",player[x].totalp);
gotoxy(54,y);
scanf ("%s",&player[x].tourn);
fprintf(f,"%s",player[x].tourn);
gotoxy(66,y);
scanf ("%s",&player[x].rankp);
fprintf(f,"%s",player[x].rankp);
y++;
}
---------------------------------------------------------
Look at the above code, can anyone tell me how to position the fprintf info in my text file just like the scanf()'s in the program?