Apr 25, 2011 at 2:27pm UTC
You won't get any useful data this way, unless this happens to be a text file that someone has changed the extention on. Are you trying to Reverse Engineer this executable?
Last edited on Apr 25, 2011 at 2:27pm UTC
Apr 25, 2011 at 2:39pm UTC
No.I am trying take voice wave binary datas in a .wav file. .wav or .exe files are in windows os.
Apr 25, 2011 at 3:14pm UTC
You should look into using a third party library then. I would suggest SFML for this because you can get started with it in a weekends worth of time.
Apr 28, 2011 at 10:15am UTC
char b[sizeof (*a)];
declares an array of 4 bytes (with 32bit pointers).
b[sizeof (*a)]=fgetc(dosya);
is writing beyond the end of the array.