Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator won't end/close the opened input stream with "std::cin"

QtCreator won't end/close the opened input stream with "std::cin"

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 2 Posters 995 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    matheo
    wrote on last edited by
    #1

    0_1540022161146_Screenshot from 2018-10-20 10-55-27.png ```

    
    as you can see in the image , it won't close the input stream and move to the next instruction 
    
    I'd appreciate a small and helpful reply  , links to similar issues , how to solve it etc instead of explaining the internal functionality of qtcreator as introduction to what might be the reason of this problem 
    
    thanks in advance .
    aha_1980A 1 Reply Last reply
    0
    • M matheo

      0_1540022161146_Screenshot from 2018-10-20 10-55-27.png ```

      
      as you can see in the image , it won't close the input stream and move to the next instruction 
      
      I'd appreciate a small and helpful reply  , links to similar issues , how to solve it etc instead of explaining the internal functionality of qtcreator as introduction to what might be the reason of this problem 
      
      thanks in advance .
      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      hi @matheo,

      the application output is really only an output.

      if you need an input, you need to run in an extra termknal window: Projects > Run > Run in Terminal

      Regards

      Qt has to stay free or it will die.

      M 1 Reply Last reply
      0
      • aha_1980A aha_1980

        hi @matheo,

        the application output is really only an output.

        if you need an input, you need to run in an extra termknal window: Projects > Run > Run in Terminal

        Regards

        M Offline
        M Offline
        matheo
        wrote on last edited by
        #3

        thanks @aha_1980
        but is there any plans to implement that anytime soon ? or is it already implemented in the beta version ?

        aha_1980A 1 Reply Last reply
        0
        • M matheo

          thanks @aha_1980
          but is there any plans to implement that anytime soon ? or is it already implemented in the beta version ?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi @matheo,

          there is indeed a suggestion to implement this: QTCREATORBUG-12453. You can comment and vote there.

          And please close this topic as SOLVED.

          Qt has to stay free or it will die.

          M 1 Reply Last reply
          2
          • aha_1980A aha_1980

            Hi @matheo,

            there is indeed a suggestion to implement this: QTCREATORBUG-12453. You can comment and vote there.

            And please close this topic as SOLVED.

            M Offline
            M Offline
            matheo
            wrote on last edited by
            #5

            @aha_1980
            thanks , I'll check that out

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved