1 Star 0 Fork 0

陈佳华/WORD_COUNT

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

WORD_COUNT

介绍

实现一个命令行文本计数统计程序。能正确统计导入的纯英文txt文本中的字符数,单词数,句子数。 具体命令行界面要求举例:

命令模式: wc.exe [参数] [文件名] wc.exe -c file.txt 统计字符数 wc.exe -w file.txt 统计单词数 扩展功能: 统计代码行、空行、注释行。 命令模式: try2.exe [参数] [文件名] try2.exe -e file.cpp

项目说明

项目的简介及其相关的用法

  1. 项目采用C++编写相关程序,运用类与对象来实现统计单词数、字符数等相关功能;
  2. 使用时需将仓库下的代码文件下载至电脑,使用编译软件运行生成.exe文件后,打开电脑cmd即命令提示符,再按上述所给命令模式输入后即可实现对应操作。
  3. 注意:测试文件与.exe文件与.cpp文件要处于同一文件夹下,否则系统会识别不到命令。

文件列表及其相关说明

  1. README.md 项目相关简介及具体说明
  2. V0.2 基础功能实现代码
  3. V0.3 拓展功能实现代码
  4. tests of V0.2 对V0.2的功能测试
  5. tests of V0.3 对V0.3的功能测试

例程运行及其相关结果

具体展示在仓库下第4和第5个文件中

Empty file

About

实现一个命令行文本计数统计程序。能正确统计导入的纯英文txt文本中的字符数,单词数,句子数。 具体命令行界面要求举例: 命令模式: wc.exe [参数] [文件名] wc.exe -c file.txt 统计字符数 wc.exe -w file.txt 统计单词数 扩展功能:统计代码行、空行、注释行等,并提供相应命令接口。 expand collapse
Cancel

Releases

No release

Contributors

All

Language(Optional)

Activities

can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chen-jiahua_oops/wordcount.git
git@gitee.com:chen-jiahua_oops/wordcount.git
chen-jiahua_oops
wordcount
WORD_COUNT
master

Search