void detection()//调用函数判断是否感染 { int num = 0; string str; ifstream infile("病毒检测输入数据.txt", ios::in); ofstream outfile("病毒检测结果.txt", ios::out); if (!infile){ cout << "open document ERROE!!" << endl; exit(-1); } else cout << "The document reads into su...