Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!bbn.com!fkittred From: fkittred@bbn.com (Fletcher Kittredge) Newsgroups: comp.lang.c++ Subject: Re: varargs and C++ Message-ID: <57379@bbn.BBN.COM> Date: 13 Jun 90 11:58:30 GMT References: <1591@ole.UUCP> Sender: news@bbn.com Reply-To: fkittred@spca.bbn.com (Fletcher Kittredge) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 21 In article <1591@ole.UUCP> powell@ole.UUCP (Gary Powell) writes: >I need a bit of help. I am setting up a fn which takes varargs >fn (int,...) and I want to recursively call it. Which means >strip off the first bit of information, decrement the int and >call it again. (until I get to a leaf) > I don't know which 'version' of C++ you are using, so it is hard to give exact information, but you should start by RTFM for varargs and stdargs. If your system has stdargs, then use it instead of varargs. regards, fletcher Fletcher E. Kittredge fkittred@bbn.com Platforms and Tools Group BBN Software Products Company 10 Fawcett St. Cambridge, MA. 02138