TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: SEBASTIAN NOZZI
from: BLAKE GAFFNEY
date: 1998-04-09 21:11:00
subject: Variable argument function with no fixed21:11:4204/09/98

On the 23 Mar 98, Sebastian Nozzi performed the most audacious feat of 
simultaneous gibbering and moaning. It was generally directed at All
 SN>  Is this possible? I mean, what if I don't need or want any fixed
 SN>  argument. Such as in:
 SN>  void Function(...);
 SN>  If this is possible, how to handle with va_start?
It's not possible. There must be at least one fixed argument.
Before you think this is a problem, consider that to parse arguments that are 
not fixed you have to know what the type and quantity of the arguments. This 
implies a kind of type-field has to be provided. In that case, the type-field 
would be a fixed argument anyway.
Looks like *another* happy ending!
 offworld@bleach.demon.co.uk   >##<
... You've taken a vow of silence, how fascinating.  Tell me about it.
 >> Tag-o-Miga 1.1a - Quoted 23% - 772 tags in Taglines.txt <<
--- Spot 1.3a #1508
---------------
* Origin: None (2:442/107.7)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.