i want to write a C++ file that read the many txt files in a same directory.
for example: i want to read all txt files in the ../dat
**what is the code is?
thanks all~~
i want to write a C++ file that read the many txt files in a same directory.
for example: i want to read all txt files in the ../dat
**what is the code is?
thanks all~~
Last edited by ck11; 04-14-2011 at 10:42 AM.
See the FAQ for directory traversal code.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.