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.