| | |
VC++:convert File IStream to hex and store...?
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2004
Posts: 1
Reputation:
Solved Threads: 0
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.
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.
![]() |
Similar Threads
- How to convert char string of Hex characters to unsigned char string of binary data (C)
- Website Review - Convert any file into a web page - Exclusive (Website Reviews)
- how to convert int with decimal address to hex address (int*) (C++)
- convert binary number to hex? (C++)
- How do I convert a FILE* to an IStream (C++)
- IStream to FILE * (C++)
- Convert any file type to pdf with distiller (C#)
Other Threads in the C++ Forum
- Previous Thread: Is ifs is a member function of ifstream class
- Next Thread: Dynamic memory allocation homework
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linkedlist linker list loop looping loops map math memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





