When I use the code #include <ofstream.h> in my .h file I get this error:
#include <ofstream.h>
"fstream.h" file not found
I use the Clion in os x.
In C++ you should not include files (system-files), which ends with .h, instead do #include <fstream>
.h
#include <fstream>
see: http://en.cppreference.com/w/cpp/io/ofstream
In C++ you should not include files (system-files), which ends with
.h
, instead do#include <fstream>
see: http://en.cppreference.com/w/cpp/io/ofstream