[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: pointers

isn't varargs supposed to do that for you ? in the way that printf
itself does ?

deepak yadav wrote:
> hi
> i have a similar kind of problem like last one. though my last problem got solved as i can do the thing i wanted to do with another method.
> i want to pass a varible list of paramters to a function say printf . here i can at runtime build format specifier string when the data types of parameters to pass are known. but how to list parameters in it. the parameters differ in ordering of datatypes and their number. i need something like kind of an array of pointers for that. plz tell me how to do that for passing parameters by reference and by value.
> thanks
> -----------------------------
> reply soon
> bye
>  __ deepak __
> have a great day
> ICQ 30662394
> -----------------------------------------------------------------------
> For information on this and other Linux India mailing lists check out
> http://lists.linux-india.org/

Robin S Chatterjee Yahoo pager ID -Robinchatterjee
FAX 1-(815)550-6171
Robin's Poetry Pages
Robin's Perl Pages