let's say
a = 1, 2, 3;
funnyfunc(x) = a*x;
then y = funnyfunc(2);
if i cout that it will be
2 4 and 6
now what if i want x to be 1, 2, 3 too? how i do that?
e.g
at x = 1 output 1 2 3
at x = 2 output 2 4 6
at x = 3 output 3 6 9
a = 1,2,3;
?
What is a
and how is holding 3 values?
What is x?
a is an array of 1 row 3 columns.
I don't understand what you're trying to do. Could you please elaborate further, in C++.
Wazzak