News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Running program from code blocks does not generate files

Started by MarkoAnte, April 11, 2018, 10:32:18 PM

Previous topic - Next topic

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!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MarkoAnte

 oBFusCATed you are correct. Thank you very much.

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