Reputation: 8565
I'm trying to make a C++ console app that can convert binary(mp3) files to images. How can I read every binary character in the file, convert to hex, and then save it as an image. Here is what I want but in C++
Upvotes: 2
Views: 6046
Reputation: 4552
You might find this tutorial helpful:
http://www.cplusplus.com/doc/tutorial/files/ (Scroll down to the section binary files)
Also, let me share my standard recommended links for people asking for aid on basic c++:
C++ Language Reference (including STL)
ANSI C Language reference for all those pesky C stuff that C++ keeps using
Upvotes: 1
Reputation: 22591
If you want a more specific answer, you'll need to ask a more specific question.
Upvotes: 0