Can you give me code if some knows code?it is too important for me
closed as not a real question by Tetrad♦ Jan 8 '12 at 23:42
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.
You have the completely right idea by starting with something simple. However, minesweeper is a trivial program for most developers - you might try something even simpler. Maybe even start with programming something other than a game - maybe "Hello World" or such.
Try something even simpler, maybe a text adventure. This might give you the mind-set you need to make a minesweeper.
Off topic: People on any StackExchange website (StackOverflow included) don't take kindly at all to people asking for 'code'. Demonstrate your due diligence to us, and come with specific problems and we will be more than happy to help you out with any problems - but asking for an entire program will be met with a closed question and sometimes some hostility.