jasonpeinko
December 26th, 2007, 04:15 PM
I am new to programing in linux, i have worked with c++ for a while though.
I am trying to make a simple program to take every single movie i have in a folder and convert it using mencoder, i have it working to run the commands,
i just need to know to get a list of all the files in the directory (im asuming ls or dir) and store them to a variable probably an array
I am trying to make a simple program to take every single movie i have in a folder and convert it using mencoder, i have it working to run the commands,
i just need to know to get a list of all the files in the directory (im asuming ls or dir) and store them to a variable probably an array