943,789 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 5635
  • C++ RSS
Jul 23rd, 2004
0

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

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
philip is offline Offline
1 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Is ifs is a member function of ifstream class
Next Thread in C++ Forum Timeline: fstream and struct question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC