where do files save when using ofstream?

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
nevermind, i figured out my problem. thanks anyways.
Assuming you're using relative paths, it's placed relative to the current working directory.
Topic archived. No new replies allowed.