Welcome To Snipplr


Everyone's Recent C Snippets Tagged file



« Prev 1 Next »
  1. FAV

    Simple File Splitter

    Simple File Splitter. No JOINER YET!
    C 6 views posted 8 years ago by Myrddin
  2. FAV

    Read file line by line

    C 5 views posted 8 years ago by imprfikt
  3. FAV

    get filename from a filepath

    for cmdparsing
    C 8 views posted 10 years ago by tandouri
  4. FAV

    Make a Wav file

    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.
    C saved by 1 person 3 views posted 10 years ago by Zufolek
  5. FAV

    load or save a chunk of memory to/from file

    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.
    C 9 views posted 10 years ago by Zufolek
  6. FAV

    Operation on directory

    This simple code return the name of files
    C saved by 2 people 3 views posted 11 years ago by cobra90nj
« Prev 1 Next »