🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1770

fopen a File Named During Run-time

#1770
From: Lo Mau Tout
Date: Wed, 03 Oct 1990 07:21
6 lines
639 bytes
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[] ?
Technical Details
Message-ID: <37852@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!ut-emx!emx.utexas.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!ut-emx!emx.utexas.edu
From: albert@emx.utexas.edu (Lo Mau Tout)
Newsgroups: comp.std.c
Subject: fopen a File Named During Run-time
Message-ID: <37852@ut-emx.uucp>
Date: 3 Oct 90 07:21:34 GMT
Sender: news@ut-emx.uucp
Distribution: usa
Organization: The University of Texas at Austin; Austin, Texas
Lines: 5