|
|
char randomMinus='-';You also need to read up on arrays before you continue. |
char Reference[10][10] = {{'-'}}; |
|
|
|
|
|
array[0][0] |
|
srand ( time(NULL) );expected `,' or `;' before '(' token |
expected constructor, destructor, or type conversion before '(' token |
{s have matching }s ahead of srand. array[10][10] = {{'-'}}; is a shorthand way of filling all elements with the dash character, you don't have to type it manually like you did.