[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: c++ problem



chetan dutta wrote:

> hi! guys,
>
> i am writing a simple c++ function, which is declared as
>
> int my_func(int a, int b,...);
>
> i don't know how to use ellipsis, my prob is how do i know how many
> args a user has passed, what is the value of each arg passed and what is
> the data type of each arg?
>
> i could not find solution  in any of the popular books. if u know a good c++
> book, please recommend me one.
>

va_lists is ur solution baby!!!