| delorie.com/archives/browse.cgi | search |
| From: | Weiqi Gao <weiqigao AT a DOT crl DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: How do i make a printf type func? |
| Date: | Sat, 12 Feb 2000 13:37:16 -0600 |
| Organization: | CRL Network Services |
| Lines: | 20 |
| Message-ID: | <38A5B66C.A344D857@a.crl.com> |
| References: | <001f864e DOT f7539fd2 AT usw-ex0103-018 DOT remarq DOT com> |
| NNTP-Posting-Host: | a116018.stl1.as.crl.com |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i586) |
| X-Accept-Language: | en |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Pyros wrote: > > 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. See K&R II, pp. 155-156. If you want me to type out the examples to this news group, please let me know. :) -- Weiqi Gao weiqigao AT a DOT crl DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |