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!!!
------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-delhi