variable number of strings passed to function - how?
K.LAUX
rkl1 at hound.UUCP
Sat Oct 22 05:45:59 AEST 1988
In article <434 at tutor.UUCP>, pete at tutor.UUCP (Peter Schmitt) writes:
> I want to write a function that accepts a variable number of string
> arguments. What is a possible way to do this?
>
The best place to look is the source code for the printf () function.
Also, the header file 'varargs.h' has some helpful defines for
writing just such functions.
If you are using MSC 5.1, the reference manuals do describe and
explain how to.
--rkl
More information about the Comp.lang.c
mailing list