Article View: comp.os.msdos.programmer
Article #2719Re: #define thisneatmacro
From: Evan Marshall Manning
Date: Thu, 18 Oct 1990 23:57
Date: Thu, 18 Oct 1990 23:57
17 lines
1251 bytes
1251 bytes
ctl8588@rigel.tamu.edu (LAUGHLIN, CHET) writes:
#define drawch(A,B,C) do {gotoxy(A,B); cput(C);} while (0)
is a standard hack. Another is:
#define drawch(A,B,C) gotoxy(A,B), cput(C)
(You'll probably get a million similar answers, but better than none....)
***************************************************************************
Your eyes are weary from staring at the CRT for so | Evan M. Manning
long. You feel sleepy. Notice how restful it is | is
to watch the cursor blink. Close your eyes. The |manning@gap.cco.caltech.edu
opinions stated above are yours. You cannot | manning@mars.jpl.nasa.gov
imagine why you ever felt otherwise. | gleeper@tybalt.caltech.edu
Technical Details
Message-ID:
<1990Oct18.235709.516@nntp-server.caltech.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!aplcen!unmvax!pprg.unm.edu!topgun!mustang!nntp-server.caltech.edu!manningReferences:
<9286@helios.TAMU.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!aplcen!unmvax!pprg.unm.edu!topgun!mustang!nntp-server.caltech.edu!manning From: manning@nntp-server.caltech.edu (Evan Marshall Manning) Newsgroups: comp.os.msdos.programmer Subject: Re: #define thisneatmacro Message-ID: <1990Oct18.235709.516@nntp-server.caltech.edu> Date: 18 Oct 90 23:57:09 GMT References: <9286@helios.TAMU.EDU> Organization: California Institute of Technology, Pasadena Lines: 17