fopen a File Named During Run-time

Lo Mau Tout albert at emx.utexas.edu
Wed Oct 3 17:21:34 AEST 1990


In ANSI C, the prototype of fopen is supposed to be

FILE *fopen ( const char *filename, const char *mode );

Does that mean I cannot specify in the position of the first parameter
a filename[i], where i is an integer, of type char *filename[] ?



More information about the Comp.std.c mailing list