What does my print function, only print after you choose to close the program?
Also, how can I make my print function valid C++ if it's not already?
The source is attached.
*prays this umpteenth try at a post works*
[EDIT]
WOOHOO! It worked.
[/EDIT]
This is a discussion on bug in menu for printing text file within the C++ Programming forums, part of the General Programming Boards category; What does my print function, only print after you choose to close the program? Also, how can I make my ...
What does my print function, only print after you choose to close the program?
Also, how can I make my print function valid C++ if it's not already?
The source is attached.
*prays this umpteenth try at a post works*
[EDIT]
WOOHOO! It worked.
[/EDIT]
The world is waiting. I must leave you now.
>>What does my print function, only print after you choose to close the program?
Possibly because you never fclose() the stream.
>>how can I make my print function valid C++ if it's not already?
read up on C++ io streams. There are plenty of guides about, here's one (I'm not saying this is a good one, just an example). Here's another reference.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
> Possibly because you never fclose() the stream.
DOH!
> Here's another reference.
Thank you Hammer for your help.
I'll have a look.
The world is waiting. I must leave you now.