------------------------------------------------------------------------------------------------------------------------------------------------------------------- 22.04.2016 std::endl replaced by '\n'. This is coherent with the C++ Core Guidelines (SL.50: Avoid endl) http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines. using namespace std removed: std:: added -------------------------------------------------------------------------------------------------------------------------------------------------------------------