Hello
I wrote a program that has a function in it that prints to an output file...
I want to use the file pointer fout
But whenever I declare fout outside of the main function... like a global variable, I get an error
and if I declare fout in main, then my function can't see it
does anyone now a way out of this problem?