how to output the file including Bin& ASCII

hey everyone, I wanna get the idea how to output the data from a file that including binary and ASCII data.
the file I wanna decode is the 0000file.
Any one has the Suggestion
thanks
You can us an ifstream to open the file in binary mode and read char by char and dump it on the console.
http://www.cplusplus.com/doc/tutorial/files/
Topic archived. No new replies allowed.