Results 1 to 4 of 4

Thread: Odd Results in Application Output Pane on simple C++ app

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2013
    Posts
    3

    Default Re: Odd Results in Application Output Pane on simple C++ app

    Windows 7 64bit with Intel Xeon E5410.

    As in step 2 above, though I compiled with "Desktop Qt 5.0.2 MinGw 32bit."

  2. #2
    Join Date
    Sep 2013
    Posts
    3

    Default Re: Odd Results in Application Output Pane on simple C++ app

    If I change the code slightly, this appears to work. I'm not sure why, but there must be some kind of glitch with flushing cout on std::endl in Qt Application Panel.
    Qt Code:
    1. #include <iostream>
    2.  
    3. using namespace std;
    4.  
    5. int main()
    6. {
    7. int i;
    8.  
    9. for (i=1; i<52; i++)
    10. {
    11. cout << i << "\n";
    12. }
    13. cout << endl;
    14. return 0;
    15. }
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Application output pane
    By stef13013 in forum Newbie
    Replies: 2
    Last Post: 30th June 2013, 18:31
  2. Qt Creator Can I post links to code lines in output pane using external tools?
    By mrsomeonee in forum Qt Tools
    Replies: 0
    Last Post: 25th August 2011, 13:15
  3. Clear Application Output Pane
    By paolo.saudin in forum Newbie
    Replies: 2
    Last Post: 7th May 2011, 11:05
  4. Automatic clearing of Application Output Pane
    By piotr.dobrogost in forum Qt Tools
    Replies: 0
    Last Post: 4th August 2009, 20:56
  5. font size in Application Output Pane
    By piotr.dobrogost in forum Qt Tools
    Replies: 0
    Last Post: 4th August 2009, 20:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.