CPP-week eight
阿新 • • 發佈:2018-11-03
The greatest advance in this week is that I've begun try to design an algorithm for the problem to be figured out. Though a little tough, it will be of great help for designing a more concise and logical program. I've been using lots of time to finish writing code before that action, mainly because I didn't get clear about what was to be written and thus deleted and corrected my programs again and again, which took me much time. Designing an algorithm is helpful that it shorten my time needed to finish the architecture of a program. I now first design an algorithm in natural languages, then change it to cpp code in scrap papers, and finally input it to the vc++. That act greatly decreases errors when the program is run at the first time.