Still making this minesweeper clone, hehe. Anyway, i cant make an array of references apparantly, i googled it and came out with this:
...of which i have no idea what it's talking about, lol. Now this is refering to my minefield, which i wanted to create as a 9x9 2d array, but when i pass it to my random mine placing function im a little stuck. A friend just suggested using a pointer, but surely that would generate basically the same error? Is there any way that i could do this? other than using a global variableOperators are not applied to references but to the variable of which it is a synonym. For instance, we cannot know the address of a reference, only of its synonym; we cannot define a pointer to a reference, it would point to its synonym; we cannot define an array of references, it is an array of the synonyms; etc.