a me funge perfettamente questo
codice:#include <stdio.h> #include <iostream.h> #include <stdlib.h> typedef int H[5]; int funz(H a, H b){ return (a[0]+b[0]); } int main(){ H x,y; int z; x[0]=y[0]=5; z=funz(x,y); cout << z; system ("PAUSE"); }
a me funge perfettamente questo
codice:#include <stdio.h> #include <iostream.h> #include <stdlib.h> typedef int H[5]; int funz(H a, H b){ return (a[0]+b[0]); } int main(){ H x,y; int z; x[0]=y[0]=5; z=funz(x,y); cout << z; system ("PAUSE"); }
*********************************
Andrea
*********************************