Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!spool.mu.edu!news.cs.indiana.edu!ariel.unm.edu!nmsu!opus!newberry From: newberry@nmsu.edu (Jeff Newberry) Newsgroups: comp.lang.c Subject: Re: fscanf & EOF Message-ID: Date: 12 Feb 91 16:29:22 GMT References: <2145@novavax.UUCP> <1991Feb11.213431.9260@wpi.WPI.EDU> Sender: news@NMSU.Edu Organization: Computing Research Lab Lines: 16 In-reply-to: fenn@wpi.WPI.EDU's message of 11 Feb 91 21:34:31 GMT >> >>How are the arguments defined? If they are all defined as arrays of >>characters, then I don't know why it core dumps. If "delimiter" is >>defined as a charater, then you need "&delimiter". >If your delimiter is a character, it shouldn't be. &delimiter will >work only if you are lucky enough to have (&delimiter)+1 empty, or >empty-able because it will get the '\0' terminating your 1 character >string. Pleas forgive me for my incorrect information. Brian Fennell is absolutely correct. Thank you for correcting me. Jeff Newberry