So I have 2 dimensional array called char Screen[50][5]; When I declare it like this -> char Screen[50][5]; everything works. But when I put variables in square brackets instead of numbers I get the error saying Screen isn't declared.
I've tried this method of declaring char[][] Screen = new char[ScreenWidth][ScreenHeight]; too
int ScreenWidth = 50;
int ScreenHeight = 5;
char Screen[ScreenWidth][ScreenHeight];
[Error] 'Screen' was not declared in this scope