How can i run my program with my files on a different folder

Hello everyone.
I am trying to organize the files of my program, but every time i move images to a different folder my program crashes. Any ideas on how i can make this work?
closed account (28poGNh0)
First would be dont move your program

second you can move your file in commun folder like the classic program files witch I do the most or just c: for the sake of easyness

wish that helps
it didnt help :C, I think you didnt understand my question, what i meant was that i want the files of my program to be in a different folder so that they wouldnt be all stacked together, but everytime I move the files to a different folder and then run the program, it crashes.
closed account (28poGNh0)
Yeah It well crashes ,
if I have a test.txt file in c: driver I can open it with ifstream in(c:/test.txt)
but if I move it to d: the program will search for it in c: ,it will not found it
either you update the patheverytime you move your files or move them in commun folder like I said

could we see your source and your ressource maybe that could help if you want to
Topic archived. No new replies allowed.