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

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2004
Posts: 1
Reputation: philip is an unknown quantity at this point 
Solved Threads: 0
philip philip is offline Offline
Newbie Poster

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

 
0
  #1
Jul 23rd, 2004
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC