🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #12773

Re: Folders automatisch doorlopen

#12773
From: Bart.Vanhauwaert
Date: Tue, 09 Oct 2001 13:39
16 lines
1506 bytes
Wim Stockman <wim.stockman@pandora.be> wrote:
> Ik ben bezig een programmatje aan het schrijven waarin ik dezelfde gegevens
> in een hele hoop bestanden wil steken.
> Maar nu vroeg ik mij af hoe je in C++ elk bestand uit een directory kunt
> aanroepen zonder dat je van elk bestand de naam opvoorhand weet.
> Kan er iemand mij hier soms mee helpen ? Alvast bedankt

Standaard C++ kent (helaas) geen standaard classes/functies om met
directories te werken. Je moet dus terugvallen op wat je host
environment aanbiedt. In het geval van Windows ben je op zoek naar
::FindFirstFile en ::FindNextFile in winbase.h

cu bart

-- 
http://www.irule.be/bvh/
Technical Details
Message-ID: <3nuup9.mlc.ln@10.0.0.2>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.238.2.15!skynet.be!skynet.be!louie!not-for-mail
References: <HqAw7.94697$6x5.20735106@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,75a9e732d042afe0
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-10-09 06:46:33 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.238.2.15!skynet.be!skynet.be!louie!not-for-mail
Sender: - <bvh@ns1.irule.be>
From: Bart.Vanhauwaert@nowhere.be
Subject: Re: Folders automatisch doorlopen
Newsgroups: be.comp.programming
References: <HqAw7.94697$6x5.20735106@afrodite.telenet-ops.be>
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.17-21mdksecure (i686))
Date: Tue, 9 Oct 2001 15:39:47 +0200
Message-ID: <3nuup9.mlc.ln@10.0.0.2>
Lines: 16
NNTP-Posting-Host: 194.78.202.248
X-Trace: 1002635186 reader1.news.skynet.be 36463 194.78.202.248
X-Complaints-To: abuse@skynet.be