# 第二次作业 **Repository Path**: imagine-1234/second-assignment ## Basic Information - **Project Name**: 第二次作业 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-27 - **Last Updated**: 2024-10-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 第二次作业 #### 介绍 作业描述: 实现一个命令行文本计数统计程序。能正确统计导入的纯英文txt文本中的字符数,单词数,句子数。 具体命令行界面要求举例: 命令模式: wc.exe [参数] [文件名] wc.exe -c file.txt 统计字符数 wc.exe -w file.txt 统计单词数 扩展功能(加分项):统计代码行、空行、注释行等,并提供相应命令接口。 #### 单元测试结果 ![输入图片说明](dist/%E8%BD%AF%E4%BB%B6%E6%8A%80%E6%9C%AF%E5%9F%BA%E7%A1%80.jpg)