i need to write a program which accepts a folder as input and browses through that folder and says whether there is a file or a subfolder present in it and generate an xml file that gives the hierarchy(subfolder names & file names present) in that folder.
BUT IT SHOULD NOT USE ANY WINDOWS API. I'M WRITING IT FOR LINUX/UNIX.
Can anyone kindly shed light on this one ASAP.
All suggestions & help will be deeply appreciated.
thank you.