Introduction - If you have any usage issues, please Google them yourself
Packaging a class CText, and write a software, it can complete any of the characters in a text file, statistical work,
Statistical information can include: the number of Chinese characters, English words the number of rows, number of characters (excluding spaces), number of spaces.
At the same time the above-mentioned character statistics, hoping that they can write a Report.txt file, and can be displayed. But does not require interface with the command line as long as the form of input and display can be other statistical functions can also refer to Word s "word count tool."
Order to follow the requirements of the subject, using Visual Studio 2008 to prepare the build environment, using C++ language to complete. Main function of which were encapsulated in the CText class and use the file stream to carry out access operation, while programming language environment to implement a partial switch to realize the right path with the correct address in Chinese parsing.