Code looks like that
#include <cstdlib>
#include <iostream>
using namespace std;
#define n 3;
#define m 4;
int main(int argc, char* argv[])
{
int arr[n][m];
bool f=true;
for (int i=0; i<n; i++)
for (int j=0; j<m; j++)
cin>>arr[i][j];
for (int i=0; i<n; i++)
for (int j=0; j<m; j++)
if(arr[i][j]!=a[0][j])
f=false;
if(f)
cout<<"Setirler eynidir.";
else
cout<<"muxtelifdir";
system("pause");
return 0;
}
Getting bunch of errors

I can’t see any problematic piece of code. Any suggestions? What am I missing?
Since
#defineis a preprocessor directive, you’re making some mistakes in your array delcaration.You could fix it by removing the
;after the defines:Or even better:
As the above will give you type safety elsewhere that you may use
norm.