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

c++ problem



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.


chetan

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.