I am entirely new to C++ with just a couple of hours self-teaching, that started yesterday. SO:
I have a uncompressed simple beep.wav file, just about 3 seconds long with a single beeping sound in it.
What I am ultimately trying to achieve is, just to read the file, and at the same time write the binary data, all including: the header, ftm and data or all that is hex readable data and dump it into a simple beep.txt file. 
is this possible, in C++? If so, how should I begin reading and dumping the binary file?
I can read the file ~more or less, using the <fstream> class
#include <iostream>
#include <fstream>
   int main()
   {
       ifstream myfile ("beep.wav", ios::in|ios::binary|ios::ate);
       if (myfile.is_open())
       {
        //reading goes here
        }
       return 0;
    }