This commit is contained in:
Christian
2019-07-05 15:30:01 +02:00
parent 8b10edef35
commit 8144685cc3
+2 -1
View File
@@ -7,6 +7,7 @@
// //
#include "simulation.hpp" #include "simulation.hpp"
using namespace std; using namespace std;
@@ -15,7 +16,7 @@ int main(int argc, const char * argv[]) {
string test_string = get_enviroment_variable("test"); string test_string = get_enviroment_variable("test");
cout<<"Test String: \t"<<test_string<<"\n"; cout<<"Test String: \t"<<test_string<<"\n";
fstream test; ofstream test;
test.open(test_string + ".txt"); test.open(test_string + ".txt");
test<<test_string<<"\n"; test<<test_string<<"\n";
test.close(); test.close();