i was writing this program for a competition, and I got the error message "no matching function call for 'Ninety'" I am relatively new to programming, so if someone could help me out that would be great. Thanks!
#include <iostream>
#include <cstring>
using namespace std;
void Ninety(int N, char old[N][N], char finished[N][N]){
char newer[N][N];
for(int i = 0; i<N; i++){
for(int j=0; j<N; j++){
newer[i][j] = old[(N-1)-j][i];
}
}
if(finished[N][N] == newer[N][N]){
cout<<"Y "<<endl;
}
}
int main() {
int N;
cin>>N;
char old[N][N], finished[N][N];
for(int i = 0; i<N; i++){
for(int j = 0; j<N; j++){
cin>>old[i][j];
}
}
for(int i = 0; i<N; i++){
for(int j = 0; j<N; j++){
cin>>finished[i][j];
}
}
Ninety(N, old, finished);
}