Minesweeper (2D Array - Static Memory Allocation)

1
2
// done by zephinzer
// goto: http://zephinzer.tumblr.com for more
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This program simulates the generation of a minefield for the Minesweeper game.
Covers the following concepts:
2D arary initialization using #defines
2D array manipulation
Random number generation

~ zephinzer
- http://zephinzer.tumblr.com

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.