Relative Content

Tag Archive for c++filedebuggingoutput

Generating empty output file in cpp

I wrote a code for generating an output file in my system in cpp. The function is getting executed but the only problem is that the output file generated is empty. Can anybody please tell me what I seemed to be doing wrong?