S
sandSpiderX
Hi,
How do i declare and use a function in c++ with variable number of
arguments...
Help
sandX
How do i declare and use a function in c++ with variable number of
arguments...
Help
sandX
One way is to read up about "Default Arguments in C++ Functions",sandSpiderX said:Hi,
How do i declare and use a function in c++ with variable number of
arguments...
Don't, find a better way! This hangover from C looses all of the typesandSpiderX said:Hi,
How do i declare and use a function in c++ with variable number of
arguments...
sandSpiderX said:Hi,
How do i declare and use a function in c++ with variable number of
arguments...
upashu2 said:An another solution is a string. write all parameters to a string,
like "x=10,name=ashu,y=20.05" and parse this string inside the
function.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.