write CString to binary file
Hi,
How to write some data contained in a CString to a binary file?
The CString data can only contain "hex values", i.e. str = "010145b4bd".
When I write using ofstream or CFile and open the file with a hex editor it shows my string hex values in the ascii part :
00000000 | 30 31 30 31 34 | 010145b4bd
any idea?
thanks in advance
Please rate if it helps!
* The second mouse gets the cheese.
* Birthdays are good for you. The more you have, the longer you live.
* Always keep your words soft and sweet, just in case you have to eat them.
* Always read stuff that will make you look good if you die in the middle of it.