doing
ofFile myTextFile("test.txt",ofFile::WriteOnly);
myTextFile << “my text comes here”+”\n”;
will create the file if it doesn't exist and you can write to it right away
doing
ofFile myTextFile("test.txt",ofFile::WriteOnly);
myTextFile << “my text comes here”+”\n”;
will create the file if it doesn't exist and you can write to it right away