How do I create a function with variable parameters. Will "functionname(float a, ...);" work? If it does how do I use the variables.
Eg.
void f1(int i, ...);
void main()
{
int a, b,c;
cout<<"Enter 3 values";
cin>>a>>b>>c;
f1(a, b, c);
}
void fi()
{
//How do I access the variables that are passed as parameters
}
:cry: :lol: :rolleyes: :?: