Boost logo

Boost Users :

From: brad_at_[hidden]
Date: 2008-06-11 08:52:44


I tried this. It seems to work.

int lower_case(int c)
  {
  return tolower(c);
  }

...
...
...

    if (boost::filesystem::is_regular(itr->path()))
      {
      path = itr->path();
      lpath = path.string();
      transform(lpath.begin(), lpath.end(), lpath.begin(), lower_case);
      std::cout << path << std::endl;
      std::cout << lpath << std::endl;
      }


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net