Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (5)
MFC Tetris game
no vote
Application background The center of the screen has a rectangular container, the program has just started to be empty; when the mouse click on the start menu, the rectangular container from the up and down the Russian box. The left and right keys on the keyboard are respectively about moving parts (one unit), and the 90 degrees clockwise rotation. When the parts reach the bottom of the container or the stop of the parts, stop; when the same line of the container is filled, the line disappears. Others move down in turn.Scoring method: first, a line of 100 points, while the elimination of 2 lines, 3 lines and 4 lines were 300, 500 and 900 points. Display current accumulated points in appropriate locations. When the head office number exceeds the height of the rectangular container,Tips for "game failure" information, and stop.With three levels of difficulty for the game to choose from. The more difficult, the more quickly the drop Key Technology Th
447062495
2016-08-23
0
1
MFC analog clock rotation program
no vote
Application background 1, the clock program is according to the characteristics we usually come into contact with the general watch, clock made of the family. It includes a dial, a pointer (clockwise, minute hand, second hand).2, hour, minute and second hand appearance, even if the pointer coincidence is also recognizable.3. The movement of the pointer is correct. For ease of presentation, the clock speed should be 20 times faster than the actual time, that is, 1 hours is equivalent to 3 minutes.4, press the set time button or menu item can be a dialog box, used to set the current time and date.5, press the stopwatch control button, the stopwatch display starting from 0 time window, unit for one percent seconds. Press the stopwatch control button to stop time again, the window displays the total time. Key Technology Clock pointer movement algorithm, screen redraw, the timer messages, the mouse message, menu commands, dialog boxes, brush / brush,
447062495
2016-08-23
0
1
MFC analog clock rotation program
4.0
Application background 1, the clock program is according to the characteristics we usually come into contact with the general watch, clock made of the family. It includes a dial, a pointer (clockwise, minute hand, second hand).2, hour, minute and second hand appearance, even if the pointer coincidence is also recognizable.3. The movement of the pointer is correct. For ease of presentation, the clock speed should be 20 times faster than the actual time, that is, 1 hours is equivalent to 3 minutes.4, press the set time button or menu item can be a dialog box, used to set the current time and date.5, press the stopwatch control button, the stopwatch display starting from 0 time window, unit for one percent seconds. Press the stopwatch control button to stop time again, the window displays the total time. Key Technology Clock pointer movement algorithm, screen redraw, the timer messages, the mouse message, menu commands, dialog boxes, brush / brush,
447062495
2016-08-23
0
1
MFC lottery lottery machine
no vote
Application background 1.  design a simple lottery game program.2.  procedures "start" button, click, seven figures will be randomly changes, click "end" numeric button changes will stop. And display the winning numbers for: ******* ". Key Technology Rand () random numberSetTimer () timerTIMER () response timer message
447062495
2016-08-23
1
1
The ball game
no vote
Application background To achieve a ball game design basket, basketball, basket of mobile and catch the basketball, automatic integration (such as pass displays "Congratulations you pass"), automatic timing (shown at the end of each corresponding time) Key Technology MappingFractional processingButton control message to the union of variables
447062495
2016-08-23
0
1
No more~