Results 1 to 2 of 2

Thread: cin Equivalent in Qt

  1. #1
    Join Date
    Mar 2011
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default cin Equivalent in Qt

    Hi
    When In c++ I want to give a string from user , I use cin .now I want to give a qstring
    from user , how can I do this ? what is the equivalent of cin in qt ?
    please help me.
    thanks .

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: cin Equivalent in Qt

    There is no equivalent. You can use cin.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QSettings equivalent in QML?
    By Koying in forum Qt Quick
    Replies: 3
    Last Post: 15th August 2012, 04:25
  2. About STL containers and QT equivalent
    By tonnot in forum Qt Programming
    Replies: 7
    Last Post: 11th February 2011, 15:17
  3. Qt equivalent of .Xdefaults?
    By kevinm in forum Newbie
    Replies: 2
    Last Post: 17th October 2008, 23:44
  4. CStatic-equivalent
    By solarrobor in forum Qt Programming
    Replies: 1
    Last Post: 28th June 2008, 14:54
  5. equivalent
    By deepa.selvaraj in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2007, 19:33

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.