Vic Wagner <[EMAIL PROTECTED]> wrote:
> Thomas Hruska wrote:
> > {deleted]
> > Yup.  That should work (forgot the "\\" though).
> > I generally use BString, though and I would probably do
> > something like:
> >
> > BString a;
> >
> > a = argv[1] + BString('\\') + argv[2];
> >
> > For readability reasons.  One should always check that
> > there are 3 elements in the array first (usually via argc).
> [deleted]
> 
> hopefully everyone will realize that the '\\' is CRAP!!!!!!!!

Yes.

> '/' is a valid path delimiter in ALL STANDARD C++
> implementations and their runtimes.

That's a big call since: a) the C++ standard doesn't have
any requirements on file path delimeters; and b) as recently
as last year, some installations of Windows NT required a
patch to allow recognition of forward slash as a path
delimiter for stat().

-- 
Peter

Reply via email to