No, neither do I :confused:. I think it was because, when I tried two originally, another part of the program stopped working and I put two and two together and came up with 6. Two works fine now...
Type: Posts; User: smitchell
No, neither do I :confused:. I think it was because, when I tried two originally, another part of the program stopped working and I put two and two together and came up with 6. Two works fine now...
Thanks for the quick response. After following your advice, I've modified the code to look like this:
int openFile(FILE ***file)
{
**file = fopen("D:\\test1.txt","w");
if(**file == NULL)...
Hi,
I'm having problems passing a file pointer through nested functions.
In the code below, main calls func1 which calls func1a which calls openFile. With some modification to the code (to...