User forums > Help

Running program from code blocks does not generate files

(1/1)

MarkoAnte:
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

oBFusCATed:
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!

MarkoAnte:
 oBFusCATed you are correct. Thank you very much.

Apparently I remembered incorrectly where it generated the file the first time.

Navigation

[0] Message Index

Go to full version