|
 |
Data Conversion Exammples
for C and C++.. |
|
|
|
As you learn with C and C++ you can't simply 'cast' an integer to a string or a wchar to a char - you have to 'convert' the data.
In C/C++ you're working with the 'raw' data - bits and bytes - so to do any conversion - you have do it yourself or use one of the numerous libraries.
 | PART ONE: Decimal Conversions |  |
Decimal To Hexadecimal
Use_itoa() function and set radix to 16.
|
|