what i wanted to do was to read multiple .doc(files) and apply an algo on it,
now .doc files can be read with stream reader the problem here is how to read multiple files in a folder and the names of the files are also not known
please help

There are os specific functions to get a list of file names in a folder.
MS-Windows: FindFirstFile() and FindNextFile()

*nix: opendir() and readdir()

google for those function nanes and you will find out how to use them. I've posted a couple code snippets here to show how to use them in c++ programs.

boost has portable functions to do the same thing, but I don't know the function names.

thank you i will google them and see for those functions for detail

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.