+ 1
I have an error with my function can someone give me some ideas i have tried different ideas but they didn't work.
4 Réponses
+ 2
int det(int* mat) {
//base condition
//recursive call
}
int main(){
//read matrix
cout<<det(mat)<<endl;
}
implement this way
+ 1
Okay thank you
0
so u made a mistake in creating determinant function...
proper way to define a function is to define outside main then call it wherever it can be accessible.
0
NaSaPaKri How can i do that tho im a little confused