fopen... then fopen

Started by
1 comment, last by Gf11speed 20 years, 9 months ago
Can you call fopen while you still have another fopen call open? Like: file = fopen("file.txt", "r"); file2 = fopen("file2.txt", "r"); fclose(file2); fclose(file);
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)
Advertisement
Yes you can, although there is a limit to how many can be opened at one time, but I believe that is specific to the different platforms.
"...."
YES! ... thanks.





Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)

This topic is closed to new replies.

Advertisement