www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/05/19:02:47

From: mad AT intersurf DOT com (Mike Demoulin)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What is the canonical way to find out if a file exists (in g++)?
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000105111921 DOT 7920d-100000 AT is> <slrn8779f6 DOT 3vvou4b DOT mad AT asylum DOT fasttrack DOT net> <850gep$epu$1 AT news DOT chorus DOT net>
Message-ID: <slrn877j7v.3vvm4ub.mad@asylum.fasttrack.net>
User-Agent: slrn/0.9.5.7 (Windows)
Lines: 16
Date: Wed, 05 Jan 2000 22:50:37 GMT
NNTP-Posting-Host: 216.115.146.142
X-Complaints-To: news AT intersurf DOT net
X-Trace: dim.intersurf.net 947112637 216.115.146.142 (Wed, 05 Jan 2000 16:50:37 CST)
NNTP-Posting-Date: Wed, 05 Jan 2000 16:50:37 CST
Organization: Intersurf Online, Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 5 Jan 2000 16:25:53 -0600, Joe Hagen <jdhagen AT chorus DOT net> wrote:
>Mike,
>
>   Actually, none of these cases will find the file, since it
>exceeds the 8.3 DOS filename limit.

Is there any way that I can find files with long file names? 
I tried findfirst (), which is supposed to work with long file names,
with no joy.

>   There's a typo in the code that outputs the same expression
>for either case for the cout call when you checked using
>_file_exists().

Thanks, that might explain why __file_exists () was reported as finding
the file.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019