RE: Wildcards in C++.

  • From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 30 Oct 2007 20:38:14 -0700

I would never write this anymore unless it was for a class.  All you do is
get boost at  Well boost is also included in most Linux
distributions so if your doing this for Linux you just include the files for
Regex and File system.  After that the code is easy.  So go to boost and
grab those libraries.


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Graham Hardy
Sent: Tuesday, October 30, 2007 12:14 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Wildcards in C++.

Hi all - How would a programmer prompt for a filespec, and, if it contains
wildcards, perform the same process on all the files that it relates to? I
know of a few examples of source code that would demonstrate this, but they
are in C, and I expect C++ would do this differently, considering the
difference between the FILE struct and the fstream class. Also, so many
tutorials lack actual information on strategies for dealing with files like
this. -Graham.

View the list's information and change your settings at

View the list's information and change your settings at 

Other related posts: