[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 ?
Cheerio
RObin


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/

-- 
_END_
Robin S Chatterjee Yahoo pager ID -Robinchatterjee
mailto:robinsc@xxxxxxxxx
mailto:robins_chatterjee@xxxxxxxxxxxx
FAX 1-(815)550-6171
Robin's Poetry Pages
http://www.geocities.com/singerosongs
Robin's Perl Pages
http://www.geocities.com/robinchatterjee