Hi, I'm taking my first C++ course and trying to call a 2D array of variable size in a function, but the compiler returns the error "No matching function for call to 'arrayname'". Any help much appreciated!
First of all having array of size not known ic compile time is prohibited by C++. Many compilers have it as extension, but those are often not really consistent with all language constructs.
In your case you have an error because maze is a multidimensional array and size is not known at compile time.