2D array initializing error
Why am I getting an error when I run this?
Error: "sorry, unimplemented: cannot initialize multi-dimensional array with initializer"
1 2 3 4 5 6 7 8 9 10
|
#include <iostream>
#include <string>
using namespace std;
int main ()
{
string sudokuBoard [10][10] = " ";
return 0;
}
|
Topic archived. No new replies allowed.