please delete this .. i put it in the wrong forum. sorry
Im trying to read a large number from a file, into a variable and then print it.
This is what i have tried, but i am getting a seg. fault. (ive attached the file as well)
if (!(inFile = fopen("tests/100.tst","r")))
fprintf(stderr, "tests/100.tst cannot be opened!\n");
fscanf(inFile, "%d", ¤t);
printf ("\n%d\n", current);