Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!usc!samsung!crackers!m2c!wpi.WPI.EDU!fenn From: fenn@wpi.WPI.EDU (Brian Fennell) Newsgroups: comp.lang.c Subject: Re: fscanf & EOF Message-ID: <1991Feb11.213431.9260@wpi.WPI.EDU> Date: 11 Feb 91 21:34:31 GMT References: <2145@novavax.UUCP> Organization: Worcester Polytechnic Institute Lines: 11 In article newberry@nmsu.edu (Jeff Newberry) writes: > >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.