Finding it hard to use C++ for minesweeper

Mar 12, 2015 at 11:23am
i
Last edited on Mar 18, 2015 at 11:12pm
Mar 12, 2015 at 11:38am
Your indentation seems to suggest you meant to have curly braces around the statements from lines 24 to 26 and 38 to 39. Does this help?
Mar 12, 2015 at 1:20pm
Kind of, the current output shows a grid of 8x8 but it only outputs the row and column number in each 'square' rather than the mine placement
Mar 17, 2015 at 6:52am
Are lines 38 and 39 supposed to be printing 'row' and 'col', then?

You may also want to note that line 34 has an identifier identical to the one on line 7, so referring to it in the function will mean the array on line 34. This may not be what you want.
Mar 27, 2015 at 7:35am
What happened to your first post?
Topic archived. No new replies allowed.