Code Generator (1), Code Generator (
Input: in the form of a file, including:
1. Input/Output of the state machine
2. variables used in the state machine
3. The State Machine Model should include Nodes, Transition, Condition, and other information.
Function: 1. format data based on the state machine to automatically generate the state machine function. 2. You can use a tool to automatically generate a state machine image. Note the input format of the graphic tool.
Output: Obtain the C language function file of the state machine in the form of a file.
Okay, the assignment assigned by the teacher a month ago. In the last 10 days, I started to work ....
I picked up the useless MFC for another two years. (I don't know C # or JAVA)
I forgot everything when I got started. Only step by step.
Today, we primarily reviewed MFC and made an ugly interface. The specific data structure is not organized yet, and the functional code is not written yet.
Make a note of the useful MFC features found today:
CString to get the correct length of the Practice: http://www.cnblogs.com/zhwl/archive/2012/11/09/2762962.html MFC to generate TXT file: https://zhidao.baidu.com/question/367963782438795684.html MFC open the selection file and get its absolute path: http://blog.csdn.net/w18758879921/article/details/51613382