Neither my link nor the library pixellany mentioned has any mention of the system() function. It seems my link was specific to BSD, so if you're using Linux then look at the dirent.h library (hint: type 'dirent.h' into google and click on the first link that isn't wikipedia).
|