1#include <string.h>//strerror函数2#include <errno.h>//errno错误代码变量3#include <fstream>4#include <iostream>5#include <string>6#include <sstream>78intmain(intargc,char*argv[])9{10std::fstream fs(argv[1]);11if(!fs)12{13std::cout <<"无法打开文件("<< argv[1] <<"):"<< str...