It is saved in the current working direction where the program is executed (the directory of the program in many / most cases). But you can also pass an absolute path like that:
Code:
file_.open("C:\\text.txt");
In that case the file is always located as C:\test.txt regardless of where the program is executed.
With best regards
Jeoni