This little C++ Program will create a file "list.txt" containing an inventory of all files in a given directory. It is useful for generating lists of media files such a music and video's to keep track of what you have and don't have without a media player.
/*
* Program to print out the contents of a given directory
* This program is to be run from the directory of which