🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.moderated
Article #77

C++ Class(es?) for interfacing with directory I/O and fstat()

#77
From: Bradley M. Kuhn
Date: Thu, 13 Jun 1996 00:00
23 lines
1791 bytes
We are looking for a C++ interface to accessing directories.  We found the
Dirent class in the GNU G++ class library, but it was just a relatively
transparent wrapper to the C directory operations (opendir, etc.).

Does any one know of a class (or set of classes) that handle directory I/O
more elegantly in C++?

We are also looking for similar classes that do the same for fstat().

BTW, we are using gcc 2.7.0 on under the System V-ish  Dynix/PTX V2.1.5 on a
i386 architecture, but we would like a portable solution across Unix
platforms.

Thanks for your time and help.
-- 
-- Bradley M. Kuhn    Contractor to Lucent Technologies - Bell Labs Innovations
   bkuhn@acm.org      oebmk@addams.nse.lucent.com   http://www.smart.net/~bkuhn
GCS/MU/L y+*>$ r++ s+:+>+:- d-(--)>pu t+++ 5++ X+ R>++ tv+()@ b++(+)>+++ DI++++
e++(+++)>$ PGP++(+++) C++++$ ULSUVA+++$>++++ P++++$ L+++$ E++(+++)$ W++(+++)>$

      [ Send an empty e-mail to c++-help@netlab.cs.rpi.edu for info ]
      [ about comp.lang.c++.moderated. First time posters: do this! ]
Technical Details
Message-ID: <4pnqt4$qa3@netlab.cs.rpi.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d4ba,7fbe65df3a68c32d,start
X-Google-Attributes: gid10d4ba,public
X-Google-Thread: fc772,7fbe65df3a68c32d,start
X-Google-Attributes: gidfc772,public
From: oebmk@addams.nse.att.com (Bradley M. Kuhn)
Subject: C++ Class(es?) for interfacing with directory I/O and fstat()
Date: 1996/06/13
Message-ID: <4pnqt4$qa3@netlab.cs.rpi.edu>
X-Deja-AN: 159964094
sender: cppmods@netlab.cs.rpi.edu
x-original-date: 12 Jun 1996 19:37:08 GMT
followup-to: comp.lang.c++.moderated
summary: Seeking a set of C++ classes to handle directory I/O elegantly
organization: Lucent Technologies
keywords: C++,directories,fstat()
newsgroups: comp.lang.c++.moderated,att.lang.c++