How to convert hexadecimal no to string | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

How to convert hexadecimal no to string

Conversion of hexadecimal number to a string using c++

23rd Aug 2019, 5:12 AM
Anwar Ali
Anwar Ali - avatar
8 Answers
23rd Aug 2019, 5:25 AM
Hatsy Rei
Hatsy Rei - avatar
+ 5
By user input
23rd Aug 2019, 5:29 AM
Anwar Ali
Anwar Ali - avatar
+ 4
Likewise, if you want to convert user input / string to hex value stored in an integer variable, the process is similar. https://code.sololearn.com/cwbdfomIjrtk/?ref=app
23rd Aug 2019, 5:50 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
What does in mean in hex. In which format number in hex is stored???
23rd Aug 2019, 5:13 AM
UraL
+ 1
Good code
23rd Aug 2019, 5:29 AM
UraL
24th Aug 2019, 8:03 PM
Aryan Abdolahi Serajzadeh
Aryan Abdolahi Serajzadeh - avatar
0
in python it is just str(0xBADBABE)
25th Aug 2019, 7:16 AM
Logomonic Learning
Logomonic Learning - avatar