cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
opening .txt from a directory
opening .txt from a directory
Jun 20, 2016 at 11:31am UTC
steven8
(3)
hi, im trying to open some .txt files from a directory but idont know how many files are there and i want to do it in a loop.
i have already used dirent.h library for a specified txt file but couldnt do it in a loop to read other txt files
Jun 20, 2016 at 1:17pm UTC
closed account (
48bpfSEw
)
http://stackoverflow.com/questions/612097/how-can-i-get-the-list-of-files-in-a-directory-using-c-or-c
Jun 20, 2016 at 7:09pm UTC
steven8
(3)
it was useful, thanks
Topic archived. No new replies allowed.