Hi im writing a C program to read in wav files. How am i able to VERIFY/CHECK whether the wav file have been read in correctly inside the C code? do i do a printf or something like that? thks.

Hmmm the only real way to know you have the right data is to compare it to the original. You could printf the data but then you would have to look inside the original file using something like a hexeditor and see if it was right. That could be a long job on a large file.

An easier method might be to write the data back out to a ne file in the original format. Then you can use a 3rd party file comparison program to compare the old and new files. If you have read and written the the data correctly the 2 files should have no differences.