ofFile::create() is the problem as it creates the file, then closes it. The file does not stay open. You should check if the file exists, create if necessary, then call open(). At this point, you can write stuff to it.
↧
ofFile::create() is the problem as it creates the file, then closes it. The file does not stay open. You should check if the file exists, create if necessary, then call open(). At this point, you can write stuff to it.