I have a question about creating own function and array as an argument.
I dont know where to declare function1 when trying to use it in header2.h in function 2. Error cannot define function1.
My question is where and how to declare function1 to be used in function2.
Code:
#include header1.h
function1(Arg11[][3], Arg22[][2], Arg33[][4]){
Arg11[][3];
}
Code:
#include header2.h
function2(Arg1[][3], Arg2[][2], Arg3[6] ){
Arg1[][3];
[COLOR=red]function1(Arg11[][3], Arg22[][2], Arg33[][4]);[/color]
}
I dont know where to declare function1 when trying to use it in header2.h in function 2. Error cannot define function1.
My question is where and how to declare function1 to be used in function2.