cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
string conversion
string conversion
Feb 5, 2016 at 5:06pm UTC
aliyesami
(57)
I have a file with hex numbers like "048C9A..."
I want to convert the file so it should look like "0x04,0x8C,0X9A..."
thanks
Feb 5, 2016 at 5:22pm UTC
keskiverto
(10354)
1. Read two characters (H and K).
2. Write 0xHK
3. Write comma (if necessary)
4. Repeat from 1.
Topic archived. No new replies allowed.