include <iostream>#include <fstream>#include <string>using namespace std;int main(){ string fileName = ""; cin >> fileName; //获取文件名 ifstream file(fileName.c_str()); //打开文件 char buffer[16384]; while(!file.eof()) { file.getline(buffer, 16383...