where do files save when using ofstream?

Apr 14, 2008 at 5:18am
I am trying to learn how to output to a file using ofstream, and after the program exits i cannot find the file. It's supposed to create a new file and then write to it correct? so where could i go to look at the files contents after the program is done writing to the file? where would the file be?
Last edited on Apr 14, 2008 at 5:48am
Apr 14, 2008 at 5:47am
nevermind, i figured out my problem. thanks anyways.
Apr 14, 2008 at 6:56am
Assuming you're using relative paths, it's placed relative to the current working directory.
Topic archived. No new replies allowed.