The first week of July harvest summary

This week mainly for the primary contact of c ++ programming, in the period before its own programming from elementary school through out among 200 primary line of several topics over the line before 200 not thought this issue.

We write the program for the first time questions have met the main menu, start no idea do not know how I can as an option, and later, after asking a few students that he decided to use switch to determine the options and make a structured analysis analysis, the whole system is clearly divided into several modules, then write code according to the function of each module. The last function call in progress. We function in the preparation process, we not only used the for loops, while loops and switch statements, also uses calls between functions. Since we are writing code division, and finally everyone will need to debug code into the course, our program there are some imperfections together, when input data does not conform to the format of the data when we define the program will appear some errors, sometimes endless loop of the main menu; in a program run, only exercising their rights, in order to re-exercise the other rights, can only exit the program, and then run the program.

The most important is to learn some file operations, file operations are not a lot in common learning, in which the primary use of a lot of file operations to consolidate the knowledge to make themselves more powerful.

Guess you like

Origin www.cnblogs.com/guziteng1/p/11145119.html