 <p>You don't need to size the parameter in the declaration and can't because the [][] syntax requires compile time constants. </p> <p>Replace with string world[][] and it should work. </p> <p>If it doesn't then use string[]* world (an array of array of strings is actually an array of pointers to an array of string)</p> <p>I hope this helps, my C++ is becoming increasingly rusty.</p>