i tried it for Windows. #include<iostream>
using namespace std; int main() { char ch; int i=system("dir /s |more"); ch=getchar(); } On Sep 17, 6:46 pm, teja bala <pawanjalsa.t...@gmail.com> wrote: > you have to print the list of all the files in a directory and all > its sub directories? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.