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?
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?
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,
_
Bookmarks