Talk About Network

Google





Computer Aided Design - CAD > Cadence > A printf wrappe...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4176 of 4397
Post > Topic >>

A printf wrapper

by marcoballins@[EMAIL PROTECTED] Aug 11, 2008 at 10:34 AM

Dear skilled cadencers,

I'd like to write a wrapper for the printf() function. The problem is
that I do not know how to have a variable number argument. I tried
with @[EMAIL PROTECTED]
( myPrint(****t str @[EMAIL PROTECTED]
 args)
    fprintf(****t str args)
    newline(****t)
)

however this won't work because args is a list and fprintf (or printf)
complains about that.
How can I achieve this task?

Thanks,
mb
 




 2 Posts in Topic:
A printf wrapper
marcoballins@[EMAIL PROTE  2008-08-11 10:34:50 
Re: A printf wrapper
"S. Badel" <  2008-08-12 11:10:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:11:36 PST 2009.