Author Topic: Running program from code blocks does not generate files  (Read 387 times)

Offline MarkoAnte

  • Single posting newcomer
  • *
  • Posts: 2
Running program from code blocks does not generate files
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11126
    • Travis build status
Re: Running program from code blocks does not generate files
« Reply #1 on: April 11, 2018, 11:22:35 pm »
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!]

Offline MarkoAnte

  • Single posting newcomer
  • *
  • Posts: 2
Re: Running program from code blocks does not generate files
« Reply #2 on: April 12, 2018, 12:02:38 am »
 oBFusCATed you are correct. Thank you very much.

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