Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site sask.UUCP
Path: utzoo!utcsri!ubc-vision!alberta!sask!coleman
From: coleman@sask.UUCP (Geoff Coleman)
Newsgroups: net.micro.pc
Subject: Re: Re: Pathnames in "C" compilers (Help!)
Message-ID: <285@sask.UUCP>
Date: Sat, 28-Sep-85 16:42:06 EDT
Article-I.D.: sask.285
Posted: Sat Sep 28 16:42:06 1985
Date-Received: Tue, 1-Oct-85 02:26:51 EDT
References: <450@philabs.UUCP> <12875@styx.UUCP>
Distribution: net
Organization: University of Saskatchewan, CANADA
Lines: 30

> > 
> >           infile=fopen("c:\usr\text\things.txt","r")
> > 
> 
> *** REPLACE THIS LINE WITH YOUR ESCAPE CHARACTER ***
> 
> Remember?  '\\' is an escape character?
> Try feeding an extra one to the parser.
> 
>            infile=fopen("c:\\usr\\text\\things.txt","r")
> 
> John
> -- 
> ARPA		jlt@styx
> UUCP		...!seismo!lognet2!styx!jlt	...!idi!styx!jlt
> 
> From Stebwer's Dictionary:
> 	Absent minded -adj.
> 		1. Uh, well, uh, ... I forget.
> 		2. What were we talking about?
         You could always just specify the name as a valid unix path.
      ie: fp = fopen("c:/user/text/things.txt","r");
    
        This works vary nicely from a lattice C program and the same
     can be done if you use a charecter string that is read in from
     a lattice C program.  Apparently DOS uses "/" or "\" as valid 
     path characters but command.com does not.
                  
                                   Geoff Coleman 
                                   University of Saskatchewan