Im trying to make a windows program which list folders and files in a directory, is there a c or c++ for this?
Printable View
Im trying to make a windows program which list folders and files in a directory, is there a c or c++ for this?
In stdlib.h there is a function system(); - it takes command like parameters.
system("dir") should suffice.
Try learning to read the FAQ first
http://faq.cprogramming.com/cgi-bin/...&id=1044780608