Merged
Conversation
实现计算字符数量
实现了单词数计算
实现了统计行数的功能
修复因第5个字符为分隔符时直接进入下一次循环读取新字符而造成错过分隔符导致次数统计缺失的错误。
完成保存计算统计单词功能
改进排序速度,提高性能;添加了文件打开失败的提示,因为含空白符空行和一些不知道的错误修改了字符统计和行数统计的函数。
将函数定义从头文件分离出来
vscode搞格式化会把{单独弄一行,vs2019不会,写的时候没单独一行,出现了一些不一致。
修复了改进排序后忘记频次相同时按字典排序的问题。
说明文件撰写,冗余代码,注解删除
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
221801131作业(2/2)