I need to evaluate a text file by it's hexadecimal values.
I found cout << hex << 16; //works ok, but...
cout << hex << 'T' ; //just diplays T.
how else can I do it?
<win2000, MS VC++6,i386, console application.>
I need to evaluate a text file by it's hexadecimal values.
I found cout << hex << 16; //works ok, but...
cout << hex << 'T' ; //just diplays T.
how else can I do it?
<win2000, MS VC++6,i386, console application.>
Cast 'T' to an int by putting "(int)" before it(w/o quotes).