软工实践——团队上机作业

github 的链接:https://github.com/ThinMoon/wordCount

经过半个小时的激烈讨论,我们将此次的项目分为以下几个模块:

1.处理命令行输入——void input(int m,int n,String input_string)
2.统计字符——int cout_char(String s)
3.判断某个字符串是否为单词——bool is_word(String s)
4.统计单词个数——int cout_word(String s)
5.统计行数——int count_line(String s)
6.小写转换——String lowcase(String s)
7.统计词组个数——int cout_phrase(int m,String)
8.将统计数据写入文件——void output()
9.单词排序——bool cmp()
10.主函数——main(arg)

组员 职责分工
黄滨鸿 处理命令行输入
林国钦 统计字符
吴珊珊 判断某个字符串是否为单词
邹迤 统计单词个数
胡成宇 统计行数
王星雨 小写转换
张启荣 统计词组个数
叶艳玲 将统计数据写入文件
邱炜旭 单词排序
温俊欣 主函数

commit记录


程序运行截图

原文地址:https://www.cnblogs.com/LightOfFuture/p/11703068.html