🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4904

Re: General 'C' Preprocessor Question

#4904
From: Michael L. Kaufman
Date: Wed, 27 Feb 1991 01:47
15 lines
1160 bytes
In <1991Feb26.082837.5618@grebyn.com> jmbj@grebyn.com (Jim Bittman) writes:
>  #define printf(a) sprintf(mychbuf,a)

How about #define printf(  sprintf(mychbuf

This will not work for most cases, but it will work for you example.

Michael


-- 
Michael Kaufman | I've seen things you people wouldn't believe. Attack ships on
 kaufman        | fire off the shoulder of Orion. I watched C-beams glitter in
  @eecs.nwu.edu | the dark near the Tannhauser gate. All those moments will be
                | lost in time - like tears in rain. Time to die.     Roy Batty 
Technical Details
Message-ID: <16889@accuvax.nwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!accuvax.nwu.edu!delta.eecs.nwu.edu!kaufman
References: <1991Feb26.082837.5618@grebyn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!accuvax.nwu.edu!delta.eecs.nwu.edu!kaufman
From: kaufman@delta.eecs.nwu.edu (Michael L. Kaufman)
Newsgroups: comp.os.msdos.programmer
Subject: Re: General 'C' Preprocessor Question
Keywords: Variable number of arguments
Message-ID: <16889@accuvax.nwu.edu>
Date: 27 Feb 91 01:47:25 GMT
References: <1991Feb26.082837.5618@grebyn.com>
Sender: news@accuvax.nwu.edu
Organization: EECS Department, Northwestern University
Lines: 15