Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cca.UUCP Path: utzoo!linus!decvax!cca!larry From: larry@cca.UUCP (Laurence Schmitt) Newsgroups: net.micro.pc Subject: Re: Re: Pathnames in "C" compilers (Help!) Message-ID: <4424@cca.UUCP> Date: Mon, 7-Oct-85 08:51:08 EDT Article-I.D.: cca.4424 Posted: Mon Oct 7 08:51:08 1985 Date-Received: Wed, 9-Oct-85 04:25:43 EDT References: <450@philabs.UUCP> <103700016@ima.UUCP> <463@philabs.UUCP> Organization: Computer Corp. of America, Cambridge Lines: 20 > >The function: > > infile=fopen("c:\usr\text\things.txt","r") > >returns NULL to infile. > > I received many responses, and I tried two suggestions: > > "c:\\usr\\text\\things.txt" worked with both the Lattice and Mark > Williams compilers. > > "c:/usr/text/things.txt" did not work with either compiler. Just to set things straight, which version of the Lattice compiler were you using? We have release 2.12 and it has no problem fopen'ing files named "c:/work/vw/sept.rpt", "c:../autoexec.bat", etc. -- Larry Schmitt Computer Corporation of America larry@cca 4 Cambridge Center decvax!cca!larry Cambridge, MA 02142 (617)-492-8860