Use local language for printing text.

This commit is contained in:
Pieter Hulshoff 2016-12-29 15:49:10 +01:00
parent 8f28696c93
commit ea9722cd63

View File

@ -25,6 +25,7 @@
#include <fstream>
#include <dirent.h>
#include <time.h>
#include <locale>
static bool ImportConfiguration(Configuration *c);
static bool StartLogging();
@ -59,6 +60,9 @@ int main(int argc, char **argv)
}
}
// Initialize locale language
setlocale( LC_ALL, "" );
// Initialize random seed
srand(static_cast<unsigned int>(time(0)));