Results 1 to 2 of 2

Thread: ASCI problem in creator 3.5.1

  1. #1
    Join Date
    Apr 2016
    Posts
    6
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default ASCI problem in creator 3.5.1

    Hello
    i use Qt Creator 3.6.1 Based on Qt 5.6.0 (MSVC 2013, 32 bit) Built on Mar 14 2016 09:57:09 and i like know how to get the ASCII code from a char i find on internet some solution but they dont work for me? How conwent ASCII code back to char?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: ASCI problem in creator 3.5.1

    You just interpret the char value as an integer, e.g. by assigning to an int.

    Not really related to Qt or QtCreator, a char is a basic C/C++ type.

    Cheers,
    _

Similar Threads

  1. Qt Creator problem
    By jack249 in forum Qt Tools
    Replies: 7
    Last Post: 19th June 2012, 10:24
  2. Problem With Qt Creator
    By justin123 in forum Qt Tools
    Replies: 1
    Last Post: 12th December 2010, 07:10
  3. Creator 2.0 problem
    By waynew in forum Installation and Deployment
    Replies: 2
    Last Post: 27th June 2010, 01:38
  4. Problem with Qt Creator
    By Qt Coder in forum Qt Programming
    Replies: 1
    Last Post: 8th June 2010, 12:48
  5. problem with qt creator
    By mmm286 in forum Newbie
    Replies: 1
    Last Post: 24th May 2010, 15:12

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.