saving to another directory

This is a discussion on saving to another directory within the C++ Programming forums, part of the General Programming Boards category; i have recently learned how to use files in c++, and i was wondering if anyone could explain how to ...

saving to another directory

i have recently learned how to use files in c++, and i was wondering if anyone could explain how to save files to a directory other than the one that the program is in.
if my program is in the folder "program", and i want to save all the files under "program\saves", does anyone know how to do this?
thanks a lot in advance, and this may be a newb question so thanks.