no answer ???
circlesquares:
Are you asking how to pass an array into a function? the first one will let you pass a 2 dim array. the second one needs the brackets [] for a 1 dim array.
Thanks for your help,
I imagine i has to but the dimension or not on this array in the function definition ?
Thank you for your help !
Regards
UKALGO

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I would like to create a function where I use some arrays, and Integer as imputs and the output is the average.
How to define the function ?
int ArrayAverage( double array[][], int toto)
{
}
or
int ArrayAverage( double array, int toto)
{
}
Thanks you guys for your help
UKALGO