This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma execution_character_set( "utf-8" ) // for MSVC | |
#include <boost/nowide/args.hpp> // for utf8_to_utf16 | |
#include <boost/nowide/fstream.hpp> // for fstream | |
#include <boost/nowide/iostream.hpp> // for cout, cerr, cin, clog | |
using namespace boost::nowide; // for cout, cerr, cin, clog | |
using std::endl; // for endl | |
int main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <clocale> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
int main() { | |
setlocale(LC_ALL, "Russian"); | |
string fio; | |
cout << "Введите строку: "; |