Hi,
the var args chapter can be found in the Richie & Kernighan book. It is a small chapter, but explained very well.
 
Bye
Basavesh

Jaspreet Oberoi <[EMAIL PROTECTED]> wrote:

Reply embedded.

 

Thanks!! and have a nice day!!

Jaspreet

 

-----Original Message-----
From: chitra krishnan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 22, 2004 8:23 PM
To: [EMAIL PROTECTED]
Subject: RE: (PT) How to implement polymorphism using C language

 

hi shyan

 

clarify this doubt of mine regarding fnt overloading

 

if C does not support function overloading then how come printf() is taking different signatures

 

 Jaspreet -> Chitra, the signature for printf is declared as receiving variable number of arguments. If you go in the help files to see the signature for printf it will have a � � followed by 3 dots (�). This signifies variable number of arguments. Search for it on Internet or just see past postings for variable number of arguments.

 

chitrakrishnan

Shyan Lam <[EMAIL PROTECTED]> wrote:

Function overload is not present in C.  In C, either use different names or
pass a union of supported types (with additional identifier that give hints
of the type to be used).

HTH
Shyan


> -----Original Message-----
> From: Fernando Arturo G�mez Flores [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 16, 2004 11:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: (PT) How to implement polymorphism using C language
>
>
> **************************************************
> I think the only polymorphical thing you can do in C is a function
> overload...
>
> void function();
> void function(int);
> void function(int, long, char*);
>
> and so, ad infinitum.
>
> Regards,
>
> Fernando.
>




To unsubscribe : [EMAIL PROTECTED]




Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.

To unsubscribe : [EMAIL PROTECTED]






Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. MINDTECK (INDIA) LTD and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.
 
Thank You.



To unsubscribe : [EMAIL PROTECTED]





Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

To unsubscribe : [EMAIL PROTECTED]




Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada



Yahoo! Groups Links

Reply via email to