🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6321

Re: Read Directory - File

#6321
From: Pieter
Date: Wed, 25 May 2005 19:37
38 lines
1839 bytes

  No, there is no reason :)
In case of VCL, which functions should I use?


"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote:
>Just curious, is there any signifficant reason why do
>you need API solution contrary to VCL solution?
>
>VCL already has everything you need for that...
>
>
>
>-- 
>Best regards,
>Vladimir Stefanovic
>"Pieter" <nospam@nospam.com> wrote in message 
>news:4294b813$1@newsgroups.borland.com...
>>
>>
>>   Hello,
>>
>> Please, I have two questions which I like to ask here:
>>
>> 1) I want to read all the files contained in a given directory. Which API 
>> should I use? Also if I want to read only the files with a certain 
>> extension.
>>
>> 2) In a file there are multiple lines. I want to read a line in that file, 
>> do something with it and move to the next one till the end of the file. 
>> What is the best way to do that and I will apreciate it if you can provide 
>> me with code example.
>>
>> Thank you all
>> 
>
>
Technical Details
Message-ID: <4294d3f5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4294b813$1@newsgroups.borland.com> <4294d20e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,57ff8ac7d09a7b63
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Pieter" <nospam@nospam.com>
Sender: "Pieter" <nospam@nospam.com>
Reply-To: "Pieter" <nospam@nospam.com>
Subject: Re: Read Directory - File
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.177.189.75     
References: <4294b813$1@newsgroups.borland.com> <4294d20e@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4294d3f5$1@newsgroups.borland.com>
Date: 25 May 2005 12:37:25 -0700
X-Trace: newsgroups.borland.com 1117049845 207.105.83.66 (25 May 2005 12:37:25 -0700)
Lines: 39
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail