Test succeded, trying C++

This commit is contained in:
dmarakom6 2021-01-04 14:35:35 +02:00
parent 8ce9cc47b4
commit 2882704b89
2 changed files with 17 additions and 5 deletions

17
test.cpp Normal file
View 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;
}

View file

@ -1,5 +0,0 @@
print("This is a test")
x=0
while x != 5:
x += 1
print(x)