logs
This commit is contained in:
parent
a219353152
commit
4ff1bcac6a
7 changed files with 29 additions and 0 deletions
29
logs/.clearlogs.cpp
Normal file
29
logs/.clearlogs.cpp
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
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;
|
||||
ofs.open("sdfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||
ofs.close();
|
||||
ofs.open("ufailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||
ofs.close();
|
||||
ofs.open("ifailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||
ofs.close();
|
||||
ofs.open("enfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||
ofs.close();
|
||||
ofs.open("disfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||
ofs.close();
|
||||
ofs.open("uninfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||
ofs.close();
|
||||
}
|
0
logs/disfailed.txt
Normal file
0
logs/disfailed.txt
Normal file
0
logs/enfailed.txt
Normal file
0
logs/enfailed.txt
Normal file
0
logs/ifailed.txt
Normal file
0
logs/ifailed.txt
Normal file
0
logs/sdfailed.txt
Normal file
0
logs/sdfailed.txt
Normal file
0
logs/ufailed.txt
Normal file
0
logs/ufailed.txt
Normal file
0
logs/uninfailed.txt
Normal file
0
logs/uninfailed.txt
Normal file
Loading…
Reference in a new issue