diff --git a/AneuMeshLoader.cpp b/AneuMeshLoader.cpp index 3b46ddf4c675ef77a2c8ecfc733da04dc24dbcc7..273815fbb56f9a48ca79204fc5ee48bb018ba3d9 100644 --- a/AneuMeshLoader.cpp +++ b/AneuMeshLoader.cpp @@ -7,13 +7,16 @@ #include #include #include +#include using namespace std; +setlocale(0,"russian"); + void AneuMeshLoader::LoadMesh(const std::string& filename) { std::ifstream fin(filename); if (!fin) { throw NoFileFoundException(filename); - } else std::cout << "File \"" << filename << "\" was opened successfully." << std::endl; + } else std::cout << "Файл \"" << filename << "\" открыт успешно" << std::endl; int amount, dimension; @@ -64,6 +67,6 @@ void AneuMeshLoader::LoadMesh(const std::string& filename) { } fin.close(); - std::cout << "All data was loaded, closing the file..." << std::endl; + std::cout << "Данные загружены, закройте файл" << std::endl; }