By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 996 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

Problem with HTML files in C++

P: n/a
Hi everybody , I'm writing because i'm new in C++ and i have a big
problem , I want my program to find files in a directory, (*.jpg, for
example)and create alist of these files,

Does anybody know how to do it ??

I ll be very thankful
Jul 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Ladykiller" <la********@o2.pl> wrote in message
news:ee*************************@posting.google.co m...
Hi everybody , I'm writing because i'm new in C++ and i have a big
problem , I want my program to find files in a directory, (*.jpg, for
example)and create alist of these files,


Read the welcome message for this newsgroup -
http://www.slack.net/~shiva/welcome.txt
Jul 22 '05 #2

P: n/a
Ladykiller wrote:
Hi everybody , I'm writing because i'm new in C++ and i have a big
problem , I want my program to find files in a directory, (*.jpg, for
example)and create alist of these files,
Why would that be a problem with HTML files? It's rather a problem with
reading directories.
Does anybody know how to do it ??


C++ doesn't have any features for directory handlig built-in. You have
to resort to system specific functions. So ask this question again in a
newsgroup about the operating system/compiler/libraries you use.

Jul 22 '05 #3

P: n/a
la********@o2.pl (Ladykiller) wrote in message news:<ee*************************@posting.google.c om>...
Hi everybody , I'm writing because i'm new in C++ and i have a big
problem , I want my program to find files in a directory, (*.jpg, for
example)and create alist of these files,

Does anybody know how to do it ??

I ll be very thankful


Don't ask here (OT). Instead check out boost::filesystem

http://www.boost.org/libs/filesystem/doc/index.htm

Regards,
Michiel Salters
Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.