Menu

Odd Console Behavior in Project

2009-08-19
2012-09-26
  • ryan schoppmeyer

    I have a group of source files in a project. When I compile them from within the project, the console behaves oddly. The program 'detaches' itself from the console, which is immediately ready to accept another program. However, the program continues to run in the background. printf() succeeds, but nothing is ever written. I added an infinite loop to it, and although the console window returned to normal immediately, the task manager showed it was still running.
    However, when I compile without the project open, the console behaves normally. printf works, and the console will not accept input until execution terminates.
    I am writing a program that relies heavily on printf and this lack of it is rather distressing.
    I did not write any code that could cause this to happen.
    the project includes stdio.h, math.h and string.
    HELP!?!!?

     
    • Wayne Keen

      Wayne Keen - 2009-08-23

      "that is what Wayne is looking for"

      Actually, I was looking for the picture of scantily clad women that comes up
      when you properly post your Basic 3....

      Huge ;)

       
    • Wayne Keen

      Wayne Keen - 2009-08-19

      Can you post your compile log for us? It's on the tab labeled "Compile Log", and the right mouse button brings up the copy menu) (Yes, I realize you have no errors, I am looking for something else)

      Wayne

      p.s. You realize you never told us what version of Dev you are working with?

       
    • cpns

      cpns - 2009-08-22

      When you created the projec, is it possible you have sleected "Win32 GUI" rather than "Win32 Console"? The Compile log will tell us that - that is what Wayne is looking for. If it contains -mwindows, that is what you have done.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.