I tried this:
void a_function(FILE *inFile);
int main()
{
FILE *inFile;
a_function(inFile);
}
void a_function(File *inHandle)
{
File *inHandle;
}
...but no good!
What I want to know is can it be done. Can a file handle be passed around like a drunk girl at a frat party?