[comp.lang.c++] stdargs.h or varargs.h ?

panos@tigger.colorado.edu (Panos Tsirigotis) (08/04/89)

Which one these two include files should be used ? Both are in the incl
directory and it seems that they are there for the same purpose so why 
the redundancy ? (I use the AT&T Rel. 2.0 C++ translator)

Panos Tsirigotis


----------------------------------------------------
| Email address: panos@boulder.colorado.edu        |
----------------------------------------------------

ark@alice.UUCP (Andrew Koenig) (08/05/89)

In article <10480@boulder.Colorado.EDU>, panos@tigger.colorado.edu (Panos Tsirigotis) writes:

> Which one these two include files should be used ?

Use stdarg.h [not stdargs.h, I hope!].  It is part of ANSI C
and varargs.h isn't.

In fact, I'm surprised you got a varargs.h with your C++ 2.0 at all.
I thought we had deleted it, and it certainly isn't present in my
version.
-- 
				--Andrew Koenig
				  ark@europa.att.com