www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/05/16:48:22

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to write #define with several args
Date: 05 Apr 2000 12:27:32 -0700
Organization: InterWorld Communications
Lines: 15
Message-ID: <83itxwpcuz.fsf@mercury.st.hmc.edu>
References: <8cfir5$2kui$1 AT news DOT itfs DOT nsk DOT su>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 954962863 40374 134.173.45.219 (5 Apr 2000 19:27:43 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 5 Apr 2000 19:27:43 GMT
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Michael N. Filippov" <michael AT idisys DOT iae DOT nsk DOT su> writes:

> Hello !
> 
> Sorry if this question is too silly for this conference :)
> 
> Does anybody know how could i write #define to use it with
> not predefined number of args. Example:

Yes.  See the GCC manual, section "Macro Varargs".

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019