2019.6.29 day summary

The first day of primary school students do basic information management program, we had some problems, but also rewarding.

Problems and Solutions:

1. When storing student information, initially with an array of deposit, but not flexible, so use dynamic memory to open up, and found that waste is still possible, so changed , so did the number of how much to open up. Remember to release memory! !

2. The overall framework of solving the problem is not new, it is still a reserve in accordance with the original method, first cin, then the while loop, while at the same time to write cin at the end, to achieve the purpose of repeated cycles. but! As the title while the content more (a total of nine branch), read, read, forget their overall framework, still want to jump on the upper end of a function that is the main page, then use the goto statement, reached the end, and there is no bounce, but finally wrote a suddenly thought of his original ideas, in turn goto delete, write cin. Before writing program must take the framework to write it down, especially in the face of huge problems! !

3. Compile appeared in "jump to case label [-fperissive] " error Solution: Do not defined or if case under variable! !

4. File import and export not understand, compiled appeared "no matching function for call to 'std :: basic_ofstream <char> :: basic_ofstream" error.

5. After completion, the test found that the delete function does not reach a (very stupid mistakes), through change to achieve. After writing must be tested! !

6. In order to simulate the system as much as possible, to join the ringtone "\ 007."

reward:

1. Just see the title "students basic information management program," found it difficult, but actually thinking to sort out, not hard to find.

2. Import the file export to figure out, this is the greatest achievement.

Guess you like

Origin www.cnblogs.com/xrj-/p/11109433.html