CompressionCodecLZ4::CompressionCodecLZ4()
{
setCodecDescription("LZ4");
string s2;
getline(cin, s2);
cout << "lz4_ok_log " << s2 << endl;
// if (access("jishu.log",F_OK)==0)
// {
// FILE* stream;
// char cTmp[] = "i";
// char n = '\n';
// stream = fopen("jishu.log", "a+");
// fprintf(stream,"%s%c",cTmp,n);
// fclose(stream);
// // FILE * fp;
// // char cTmp[] = "i";
// // fp = fopen("jishu.log","w");
// // fprintf(fp,"%s",cTmp);
// // fclose(fp);
//}
}
CompressionCodecLZ4::~CompressionCodecLZ4()
{
string s1;
getline(cin, s1);
cout << "lz4~_ok_log" << s1 << endl;
}
打印log,写入log
最新推荐文章于 2024-11-12 13:55:23 发布