Results 1 to 4 of 4

Thread: where is cout

  1. #1
    Join Date
    Aug 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Question where is cout

    hi,i'm new in Qt.i use it on Windows.i get a problem here:
    After i type in : cout << "hello world",where did it come out? i can't see it.why didn't it like visual c++ just poping a window which claimed "hello world" cheerfully?

  2. #2
    Join Date
    Aug 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: where is cout

    Add:i use Qt Creator 2.0

  3. #3
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: where is cout

    Already answered in the Qt Tools section (I think).
    Add config += console to your pro file

  4. #4
    Join Date
    Aug 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: where is cout

    thank you,tbscope
    for your advice,this problem has been solved

Similar Threads

  1. QProcess : force cout to be sent
    By Nyphel in forum Qt Programming
    Replies: 2
    Last Post: 6th April 2007, 00:05
  2. cout problem
    By mickey in forum General Programming
    Replies: 3
    Last Post: 2nd March 2007, 19:12
  3. How to cout in Qt ?
    By probine in forum Qt Programming
    Replies: 4
    Last Post: 15th December 2006, 01:47
  4. Iostream cout on loop same line
    By patrik08 in forum General Programming
    Replies: 3
    Last Post: 7th December 2006, 14:12
  5. std::cout displaying a hex value instead of a string.
    By johnny_sparx in forum Qt Programming
    Replies: 2
    Last Post: 8th April 2006, 09:55

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.