This is the first semester in a freshman written to participate in the program Design contest works, at that time only only greedy snake, Maze algorithm and file encryption three features, and then the interface did not do any landscaping, now think of a little pity. However this is not a write-once software, gradually updated in the late, know today's version. and the understanding of C + + at that time did not go through the school learning system after learning so in place, some of which did not follow the idea of object-oriented design. It may be that the previous version of the QT write program for WIN10 support is not in place, and then in order to let the program start automatically set compatibility to Win7 This action took a long time, halfway through this problem prepared for nearly half a month to solve the problem, Be aware that the time to enter the contest is from one months before the start of the contest. And the person who finished the work had only one person, and eventually the small program that had only 3 functions failed to enter the preliminary round. To tell the truth, I was really sad at that time, after all, it took one months to complete the work is not recognized, now sophomore, halfway also gradually added some features, Updated to the current version of V1.19, where the Tic-tac-chess in order to reflect the process of creating a maze, I set up the delay in creating a maze, in fact, can be directly generated, in the future should be added some show the maze of the generation process of the button.
In the V1.18, it seems that the function is much more than the current version, such as login, registration function, SQL management tool, user message function, etc., but after testing the existence of bugs, so in this version of the SQL function is all deleted.
Program:
Gadget Feature Description:
Here is a demonstration of the function of each gadget and its usage, with the example of a roller hotkey:
Now the screenshot function seems to be quite powerful. able to press Alt+q Direct, a bit similar to the QQ function, now in the need to get something to basically use their own software. In the realization of this function, referring to the csdn of a blogger wrote an article, the specific blogger I also forget, a year ago things are not too clear, in the original based on the addition of double-click, will be placed in the Clipboard, you can directly paste the function, and bind the hotkey hook.
Snake: No specific instructions
Maze algorithm: Randomly generated a maze, the implementation is to use the way to remove sticks, each lattice has four directions, each take 1-4 of these 4 random numbers, respectively, representing the top and bottom of these 4 directions, and then randomly to the specific number, will be the current lattice to the corresponding direction of movement, remove the corresponding sticks, when there is no road, Return to the beginning of the inflection point and delete the inflection point information, and then loop the random number to fetch the stick until all the squares have been taken out. Among them, the player through the Wsad control the red ball up and down, green ball represents the end of the position.
Tic-Tac-Chess: 3 pieces in a row when the player wins, belongs to the most simple one of chess, can set the difficulty, and can set the hand and the shape of the pieces
File encryption: The entire file is encrypted from beginning to end, the larger the file encryption time, in fact, originally wanted to write this function because they want to understand how encryption is implemented. Finally found that the encryption and decryption is actually the opposite of the data to do a positive and inverse, but this encryption is not perfect, because it is a freshman semester did not understand the processing of data when written, and did not add about whether the file is encrypted or not encrypted judgment. So using this gadget to encrypt files is still a bit dangerous, unless you know the encryption number of times the password is also in order, note: The file unlock operation for an unencrypted file is also encrypted, and the file encryption function is used to unlock the unlocked file.
Random number extractor: the ability to extract 0-99999 random numbers, you can extract the random number of non-repetition, you can also extract the repeated random number, support one-click Extraction All.
Scroll Hotkey: Simulates the key entered in the text box, when clicked to turn on the hotkey amount, the scroll wheel will simulate the key of the keyboard input text box (it is the simulation instead of the paste, the characters not on the keyboard can not be simulated), and the simulation will start from the beginning when the last button is simulated.
For example, the above button scrolls back and forth through the wheel's simulation process: 123sads123sads123sads123sads123sads123sads123sads123sads123sads123s ...
Simple detection of files: No instructions, no use, then the practice is to count the number of files of each type.
Convert Chinese to pinyin: this is a game similar to the small overlord of the time, the inside of those ROM is not supported in Chinese, in the simulator will show garbled, so I want to all the files in the folder containing Chinese files in Chinese all converted to pinyin, Of course, you can also paste the Chinese directly into the text box directly inside the conversion.
Effect
Daily article: Every day will be updated a selection of articles, if you want to improve the amount of reading, is good, because the previous time in writing to forget to modify the name of the window causes the window name display error, will be in a future version of the Repair window text display error process.
Inauspiciousness Test: You can test the inauspiciousness once a day, and this is just random and entertaining.
function:, press ALT+Q or select in the selection box, double-click on the area to drop the file into the Clipboard, or right-click the selected area, you can save the picture to a folder.
: Http://ozcye8ivb.bkt.clouddn.com/%E5%B0%8F%E5%B7%A5%E5%85%B7.rar
QT Program-Gadget collection