Welcome To Snipplr


Everyone's Recent C Snippets Tagged file



« Prev 1 Next »
Simple File Splitter. No JOINER YET!
0 89 posted 9 years ago by Myrddin
0 108 posted 9 years ago by imprfikt
for cmdparsing
0 167 posted 10 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 89 posted 11 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 108 posted 11 years ago by Zufolek
This simple code return the name of files
1 61 posted 11 years ago by cobra90nj
« Prev 1 Next »