Welcome To Snipplr


Everyone's Recent C Snippets Tagged file



« Prev 1 Next »
Simple File Splitter. No JOINER YET!
0 659 posted 12 years ago by Myrddin
0 705 posted 12 years ago by imprfikt
for cmdparsing
0 761 posted 14 years ago by tandouri
Makes a mono 8-bit (i.e. one byte per sample) wav file, "out.wav" containing a 500 Hertz sine wave signal. 22050 is the sample rate, and 64000 is the total size of audio data in bytes.
1 653 posted 14 years ago by Zufolek
loadfile(filename); returns NULL on fail or a pointer that should be free()d when no longer needed. savefile(filename,data,dataSize); returns 0 on fail or 1 on success.
0 663 posted 14 years ago by Zufolek
This simple code return the name of files
1 485 posted 15 years ago by cobra90nj
« Prev 1 Next »