Code::Blocks Forums
User forums => Help => Topic started by: MarkoAnte on April 11, 2018, 10:32:18 pm
-
Hi,
I have a program that generates a .txt file. If I run the program form code blocks (build and run) the program runs, but does not generate the .txt file. But if i run the program directly form bin\debug it generates the .txt file.
I wrote the program a couple of month ago and it worked then, I wanted to change something now and I have this problem. Any ideas why?
Best regards,
Marko
-
Where do you expect the file to be generated?
What is the execution dir set in the project properties?
Hint the default is where the .cbp file is, not bin/debug!
-
oBFusCATed you are correct. Thank you very much.
Apparently I remembered incorrectly where it generated the file the first time.