0
Is there a simple way to convert a string to hexadecimal?
I've tried using "cout << hex << variable;" but all I seem to get is the value of the variable, instead of it's hexadecimal form. is it the sololearn compiler? I'm only using that one, so will I need to use another?
1 Réponse