#include <iostream>
#include <string>
#include <fstream>
int main()
{
using namespace std;
ifstream tt("源.cpp");
unsigned a = 0;
char b;
while (tt.get(b))
{
++a;
}
--a;
cout << a << endl;
cout << endl;
return 0;
}
计算一个文件夹里的字符数
最新推荐文章于 2022-08-04 00:42:13 发布