954,224 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

VC++:convert File IStream to hex and store...?

Hello,
First I will tell theth I new in c++!
I' have a problem with converting the file Input Stream. I read a single character from the stream of the curent position of the file.In one case I set the hex flag; in another case I read from the stream and store in a temp buf without set any flags, then I convert it in hex storing in buffer in hex format.But then the characters in the buffer are not in the hex.Can you show me the right function or code for this operation.Thank you.

philip
Newbie Poster
1 post since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You