I am trying to write a code but I keep getting an error with the system pause. I cant seem to figure it out. Even for other codes I have been trying to write.Code:[QUOTE]#include<stdio.h> int main () { int i,j,max_c, max_j; int num_shows; FILE * fin; fin = fopen("ucfidol.txt","r"); fscanf(fin,"%d", &num_shows); printf("%d\n",num_shows); fscanf(fin,"%d",&max_c); printf("Number of contestants = %d\n", max_c); fscanf(fin,"%d",&max_j); printf("Number of judges = %d\n", max_j); //int scores[max_c][max_j]; //for(i=1;i<=max_c;i++) //fscanf(fin,"%d",&max_c); //for(j=1;j<=max_j,j++) //fscanf(fin,"%d",&max_j); fclose(fin); system("PAUSE");