FW: need C++ help (for code that will become part of GME)

GME GME
Wed Nov 19 20:07:22 CST 2003



----------
From: 	Brian Williams
Sent: 	Wednesday, November 19, 2003 2:07:22 PM
To: 	GME Group
Subject: 	need C++ help (for code that will become part of GME)
Auto forwarded by a Rule

Hi All,

 

I have a question for all you C++ gurus out there:

 

How can I pass Variable arguments down to another function?

 

Here’s the situation,

 

I would like to use fprintf on a file that is a private datamember of an object, so I want

MyFprintf(variable args){fprintf(MyPrivateFile,args);}

 

So I don’t need to know anything about the number or types of arguments coming in, I don’t want to do anything with them other then pass them all to the fprintf.

 

If someone knows the proper syntax to do this, could you email it?

 

Brian




More information about the gme-users mailing list