+ 3
Hex in c++
In c++, what is hex when it is used as follows: cout >> hex >> variable; How does it work?
1 ответ
+ 7
You mean cout << hex << variable?
https://code.sololearn.com/cPMDa057gisB/?ref=app
It converts the output from decimal to hexadecimal format.