Test succeded, trying C++
This commit is contained in:
parent
8ce9cc47b4
commit
2882704b89
2 changed files with 17 additions and 5 deletions
17
test.cpp
Normal file
17
test.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <ctime>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
time_t now = time(0);
|
||||
char* dt = ctime(&now);
|
||||
ofstream sdfailed;
|
||||
std::ofstream outfile ("../../logs/sdfailed.txt", std::ios_base::app);
|
||||
outfile << "INVALID PATH FOR DEFAULT EDITOR/FOLDER IN " << dt << "\n";
|
||||
outfile.close();
|
||||
return 0;
|
||||
}
|
||||
|
5
test.py
5
test.py
|
@ -1,5 +0,0 @@
|
|||
print("This is a test")
|
||||
x=0
|
||||
while x != 5:
|
||||
x += 1
|
||||
print(x)
|
Loading…
Reference in a new issue