Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/06/02 10:46
Read: times


 
#22562 - RE: passing variable argument type to fn
"passing two variables to the function one for the type and one for the size, or making different functions"

Yes, you will need 2 variables, but not type and size - the size is known implicitly once you have the type!

You will need to pass either
1. type (using some code of your own devising) and value, or
2. size and value.

Of course, for 'value', you could always pass a pointer!

List of 7 messages in thread
TopicAuthorDate
passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      

Back to Subject List