Ofstream Error Occurs

Hi
I am working with ofstream. I included fstream iostream. But the following error is in the code.

‘ofstream’ does not name a type

What can I do?
Thank you

std::ofstream

I didn’t get the answer.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.