it's running.. http://ideone.com/XjGIo wat is does is that through the system function u can run commands as u do in command prompt.. nd dis is d command to show the files n all as ur question asked. try it on dev C++.
On Sep 17, 9:45 pm, teja bala <pawanjalsa.t...@gmail.com> wrote: > @ pooja > > in borland c++ 4.5 compiler version its giving linker error, > > wat actually ur code does? > > > > > > > > On Sat, Sep 17, 2011 at 9:27 PM, pooja <pooja27tan...@gmail.com> wrote: > > 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. -- 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.