I want to use fopen , fclose, fscanf , fgetc , etc. for about 5000 times in one program. But when it reaches to 4200, the “segmentation fault” is occurred. What should I do in order to leave this error and run my program completely?
(I do the program in Linux i386, Suse 8.2 with gcc compiler)