I'm trying to use fstream, but I can't get it to work. Nothing happens at all. This is what I have.
Code:
...
ofstream testFile("test.txt");
testFile << "test";
testFile.close();
...
Is a new file supposed to be created if there isn't already one? When it wasn't working, I created a new file just in case, but that didn't help any.

No file is created, and when I put a file there by that name the file doesn't get the output.