2021-03-29 16:41:23 +02:00
|
|
|
/*
|
|
|
|
shellnotes - clearlogs.cpp
|
|
|
|
(C) Dimitris Marakomihelakis
|
|
|
|
Released under the "All rights reserved" category. See the RIGHTS.txt file
|
|
|
|
in /docs/github/ for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <fstream>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
int main ()
|
|
|
|
{
|
|
|
|
std::ofstream ofs;
|
2021-04-19 21:32:01 +02:00
|
|
|
ofs.open("../../logs/sdfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
2021-03-29 16:41:23 +02:00
|
|
|
ofs.close();
|
2021-04-19 21:32:01 +02:00
|
|
|
ofs.open("../../logs/ufailed.txt", std::ofstream::out | std::ofstream::trunc);
|
2021-03-29 16:41:23 +02:00
|
|
|
ofs.close();
|
2021-04-19 21:32:01 +02:00
|
|
|
ofs.open("../../logs/ifailed.txt", std::ofstream::out | std::ofstream::trunc);
|
2021-03-29 16:41:23 +02:00
|
|
|
ofs.close();
|
2021-04-19 21:32:01 +02:00
|
|
|
ofs.open("../../logs/enfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
2021-03-29 16:41:23 +02:00
|
|
|
ofs.close();
|
2021-04-19 21:32:01 +02:00
|
|
|
ofs.open("../../logs/disfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
2021-03-29 16:41:23 +02:00
|
|
|
ofs.close();
|
2021-04-19 21:32:01 +02:00
|
|
|
ofs.open("../../logs/uninfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
2021-03-29 16:41:23 +02:00
|
|
|
ofs.close();
|
|
|
|
}
|