Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: what does ....
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 1089 of 1126
Post > Topic >>

Re: what does ... mean in printf??

by Jensen Somers <jensen.somers@[EMAIL PROTECTED] > May 7, 2008 at 01:38 AM

Hello,

AKM wrote:
> Hi,
>      In the protype of printf function, what does the ... mean.
> int printf(const char *format, ...)
> 
> I undestand that this function can take variable number of arguements.
> How is it handled? what is it called?
> 
> Thanks in advance
> AKM

Using "va_list".

You can find an example at: 
http://www.planetoid.org/technical/samples/va_args/va_args.c

- Jensen
-- 
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
 -- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line.  Sorry.
 




 6 Posts in Topic:
what does ... mean in printf??
AKM <akmahes@[EMAIL PR  2008-05-05 16:01:24 
Re: what does ... mean in printf??
Barry Schwarz <schwarz  2008-05-07 01:38:12 
Re: what does ... mean in printf??
David Spencer <spencer  2008-05-08 02:20:28 
Re: what does ... mean in printf??
Jensen Somers <jensen.  2008-05-07 01:38:25 
Re: what does ... mean in printf??
Thomas Richter <thor@[  2008-05-07 01:38:28 
Re: what does ... mean in printf??
"Iman S. H. Suyoto&q  2008-05-07 01:38:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Wed Jul 9 0:55:38 CDT 2008.