->How can I increase the allowable number of simultaneously open
files?
->What's wrong with the call "fopen("c:\newdir\file.dat", "r")"?
->How can I increase the allowable number of simultaneously open
files?
->What's wrong with the call "fopen("c:\newdir\file.dat", "r")"?
and you can open as many files as you want, as far as I know. Just be sure to close them all.Code:FILE *myfile; myfile= fopen("Somefile.txt", "r"); fprintf(myfile,"MOO!"); fclose(myfile);
->What's wrong with the call "fopen("c:\newdir\file.dat", "r")"?
you have to use double backslashes
fopen("c:\\newdir\\file.dat", "r")
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.