I found an "elegant" C++ solution to writing files which works fine on PC (tested on Windows and Linux) but does not work on Wii U. The following code always enters the successfully_written = false part (please note that the file does not exist yet and I'm trying to create a new one):
Works for me without problems. Make sure to call file_writer.close() after writing to the file. Did the folder exist where you tried to write the file to?
I found an "elegant" C++ solution to writing files which works fine on PC (tested on Windows and Linux) but does not work on Wii U. The following code always enters the
successfully_written = false
part (please note that the file does not exist yet and I'm trying to create a new one):The
CFile
class however works. Is there maybe an issue with thedevoptab
mapping or the flags being set by thestd::ofstream
constructor?