Menu

using dev-c++

beho G.
2008-11-23
2012-09-26
  • beho G.

    beho G. - 2008-11-23

    Hi guys,
    I have a question, I just started using the program like 2 days ago. the only issue I want to ask about, is when I run a program, the dos screen comes, takes entries, then just , display the result so quickly, I cannot even see it,
    I searched online, I saw that it depends on my program code, I am making simple program in C (not c++), can I adjust any options in the compiler , it will be manually closed, or so
    Thanks in advance.

     
    • cpns

      cpns - 2008-11-23

      I think that may have been me. You use the Tools menu configuration feature to add a menu item to run the program through a separate cmd.exe session with the /k option, or via a batch file with the pause command after execution.

      It is such a trivial issue, the effort hardly justifies the effort, so I stopped suggesting it. It is not perfect because Dev-C++ has no tools macro to pass command line arguments to a tool command. Also I figured that anyone struggling with the concept of an application window closing on termination, might struggle with the fix too.

      Clifford.

       
    • Wayne Keen

      Wayne Keen - 2008-11-23

      There was a way posted a long time ago to do this. A forum search should bring it up.

      Wayne

       
    • cpns

      cpns - 2008-11-23

      Wayne is being mean because he is fed up with answering the most commonly asked question on the forum. It is in the "PLEASE READ BEFORE POSTING A QUESTION" thread - who's have thought of that!?

      Clifford

       
      • Wayne Keen

        Wayne Keen - 2008-11-23

        Actually, for once ;), my intent was not to be mean.

        There was a post that was put together a couple of years ago where someone showed how to set up the Dev environment such that one did not have to use the pause or other mechanism to keep the window open.

        Wayne

         

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.