Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!hp4nl!dutrun!vlrugvg From: vlrugvg@dutrun.UUCP (Ge van Geldorp) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: The Super strcat routine for lists ?? (HELP) Keywords: strcat, lists Message-ID: <1242@dutrun.UUCP> Date: 8 Apr 90 08:47:27 GMT References: <1990Apr3.023410.6401@cunixf.cc.columbia.edu> <1577@dinl.mmc.UUCP> <2619805E.18916@maccs.dcss.mcmaster.ca> Reply-To: ge@dutlru2.tudelft.nl (Ge van Geldorp) Organization: Delft University of Technology, The Netherlands Lines: 15 In article <2619805E.18916@maccs.dcss.mcmaster.ca> cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) writes: ] There must be a way of doing this that doesn't require you to put ]a NULL as the last argument ... after all, functions like printf () ]take variable-size argument lists and you don't have to say ] ] printf ("%d%s\n", integervar, stringvar, NULL); ] Yeah, but printf knows how many arguments to expect by scanning the format string. Ge van Geldorp ge@dutlru2.tudelft.nl ...!uunet!hp4nl!dutlru2.tudelft.nl!ge