I forgot to include a useful link to anybody interested in looking at
this problem if it tickles your fancy. Steve Summit, who maintains the
C Programming FAQ, has a page with a few links on discussions on this
over the years.
http://www.eskimo.com/~scs/C-faq/varargs/wackyideas.html
I also forgot to state the obvious: I posted this to the game
development forum because this is the place to find solutions to
problems, no matter how ugly, rather than debate pedantic issues. That
is different than seeking solutions on software engineering forums such
as sweng where portability, standards, etc. are the focus.
So if anybody has a working solution that has been used, or even some
ideas, I would love to hear them. Surely somebody has done this? :-)
Brett
|