www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/12/15:41:59

X-Originating-Host: 62.0.177.34
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
Subject: How do i make a printf type func?
Lines: 16
From: Pyros <yagodaNOyaSPAM AT netvision DOT net DOT il DOT invalid>
Newsgroups: comp.os.msdos.djgpp
Message-ID: <001f864e.f7539fd2@usw-ex0103-018.remarq.com>
Bytes: 504
X-Wren-Trace: eD8aMjMqbSdsZiowNXs/FiMpOywzKHYmNH0+OSJlL3Nwby1wYTF7ZmRwaG4=
Date: Sat, 12 Feb 2000 11:25:33 -0800
NNTP-Posting-Host: 10.0.2.18
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon4 950383461 10.0.2.18 (Sat, 12 Feb 2000 11:24:21 PST)
NNTP-Posting-Date: Sat, 12 Feb 2000 11:24:21 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Heya,
This is not a DJGPP question, but a C one. I hope you'll help
anyway.
Well, i want to make a function that will recieve a variable
number of arguements. The first argument tells the function
how much more arguments there are. I know how to declare it:
int func(int n,...)

but i don't know how to address the arguments.

Thanks,
Pyros


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

- Raw text -


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