-
CDROM Copier
HI,
I"m interested in making a small app that will allow a user to copy data from a CD to some directory of the user's choice. I also want to create a progressbar so that the user is indicated as to how much of the cd is copied so far....
My question is....is there a special header file i need to extract the files from directories on the cdrom disk....or can i use "ifstream/ofstream" to take them?
Any help plz..
Thx
-
Depending on your OS, you want to look at these functions to read files and directories
win32
FindFirstFile() and FindNext()
*ix
opendir() / readdir() / closedir()
stat() - to determine whether you have a file or a dir
Once you have a list of files and sizes, then you should be able to calculate a progress bar.
-
Hey..thx for the replay...but what is *ix stand for?
-
>>Hey..thx for the replay...but what is *ix stand for?
He means operating systems that are Unix Based (IE Linux)