Author Topic: Program compiles and runs with no errors, but does not show up.  (Read 2494 times)

Offline some

  • Single posting newcomer
  • *
  • Posts: 3
Program compiles and runs with no errors, but does not show up.
« on: February 14, 2016, 03:00:52 am »
Codeblocks compiles my program correctly, no errors. However when it runs, nothing shows up. I don't remember changing any settings either, so I must have misclicked a setting somehow.


I can post my program, but neither the new one I wrote or the older ones I was running fine before work now, so I'm not sure how much help that would be.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Program compiles and runs with no errors, but does not show up.
« Reply #1 on: February 14, 2016, 12:04:21 pm »
What os  and cb version are you using?
(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 some

  • Single posting newcomer
  • *
  • Posts: 3
Re: Program compiles and runs with no errors, but does not show up.
« Reply #2 on: February 14, 2016, 08:27:47 pm »
Operating system is windows 7, code::blocks version is 13.12

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Program compiles and runs with no errors, but does not show up.
« Reply #3 on: February 14, 2016, 09:24:09 pm »
What is the type of the target you're using?
To show something in the console you need to set it to console.
(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 some

  • Single posting newcomer
  • *
  • Posts: 3
Re: Program compiles and runs with no errors, but does not show up.
« Reply #4 on: February 15, 2016, 08:28:53 pm »
Thanks oBFusCATed, I must have toggled view/select target/release. Turning it back on fixed my problem.