Hello,
I'm trying to print the hexadecimal value for a string.
Actually, it was already encoded by my application into utf-8. And I would like to check the converted hex-code.
Could some one please let me know how to print it to a file ?
pFile = fopen ("C:\\myfile.tx t","w");
fprintf (pFile, "%X ",c);
The above code didn't work!!
Thanks a lot for your inputs,
Pratap
I'm trying to print the hexadecimal value for a string.
Actually, it was already encoded by my application into utf-8. And I would like to check the converted hex-code.
Could some one please let me know how to print it to a file ?
pFile = fopen ("C:\\myfile.tx t","w");
fprintf (pFile, "%X ",c);
The above code didn't work!!
Thanks a lot for your inputs,
Pratap
Comment