11061190-李孟
Implement a console application to tally the frequency of words under a directory (2 modes).
先感慨一句:费尽千辛万苦,总算把程序写出来了。
(1)&(2)在我开始实现这个项目之前,我估计我需要花24小时的时间。我预计将整个项目分成以下几个部分分别测试以及实现:
模块 | 预计时间 | 实际时间 |
(1)遍历文件夹 | 1h | 2h |
(2)输入输出流 | 1h | 0.5h |
(3)数据存储 | 10h | 8h |
(4)数据排序 | 4h | 3h |
(5)集成测试 | 8h | 9h |
合计时间 | 24h | 22.5h |
3) Describe how much time you spent on improving the performance of your program, and show a performance analysis graph (generated by VS2012 perf analysis tool), if possible, please show the most costly function in your program.
4) Share your 10 test cases, and how did you make sure your program can produce the correct result. (programs with incorrect result will get 0 points, regardless of speed)
5) Describe what you had learned in this exercise.
从不会C++,开始快速学习,到截止时间紧逼,边学边做,这次的个人项目让我学到了很多,也体会到了很多。
知识上,我学到了C++容器、迭代器、map,输入输出流的使用。但是更重要的是,为了自己亲手完成一个项目,我和我的同学们都不惜通宵作战。我们对待技术、对待学习都是很认真的!