Skip to content

Comments

221801126#16

Merged
kofyou merged 22 commits intokofyou:mainfrom
yangzishen:main
Mar 11, 2021
Merged

221801126#16
kofyou merged 22 commits intokofyou:mainfrom
yangzishen:main

Conversation

@yangzishen
Copy link

@yangzishen yangzishen commented Mar 5, 2021

221801126

This is WordCount.cpp
包含其它自定义函数
包含其它自定义函数声明和其他头文件
创建了输入的函数
更新输入模块的函数体
添加ASCII码计数函数声明
添加ASCII码计数函数体
添加了辅助判断是否为单词,是否为数字单词,是否为空白或者换行字符,和比较函数。
添加函数声明 定义特定字符的ASCII码数值为常量
添加了 词数统计和行数统计 函数声明 创建了map来记录单词 vector容器来记录单词的出现次数
添加了词数统计和行数统计函数体
增加了输出函数,优化了判断条件冗余的常量ascii值 使用字符串判断
更新输出函数 添加常量
重新在本地排版了一下 和原来版本只有顺序上的差别
@yangzishen yangzishen changed the title 221801126 pull request 221801126 Mar 5, 2021
@kofyou kofyou merged commit 022ca68 into kofyou:main Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants