home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!rpi!martid
- From: martid@vccsouth21.its.rpi.edu (David Martin)
- Subject: Referencing `...' arguments in functions
- Message-ID: <b#n125j@rpi.edu>
- Nntp-Posting-Host: vccsouth21.its.rpi.edu
- Organization: Rensselaer Polytechnic Institute, Troy NY
- Distribution: usa
- Date: Mon, 9 Nov 1992 18:22:31 GMT
- Lines: 11
-
-
- I wish to write a function having an unknown number of arguments. I know
- that the '...' in the function declaration will allow for any number of
- arguments, but how do I actually access these variables.
-
- If there is a solution to that question (which I'm sure there is), is
- there any way for me to know the number of arguments and, more
- importantly, the variable type of each argument?
-
- Thanks for your help. I would appreciate responses through e-mail since
- I am not a frequent usenet reader.
-