// Приветствие пользователя на C++ #include <iostream>#include <string>using namespace std; int main() { string name; cout << "Введите ваше имя: "; cin >> name; cout << "Привет, " << name << "! Добро пожаловать в мир C++ :)" << endl; return 0;}
Standard input is empty
// Приветствие пользователя на C++ #include <iostream> #include <string> using namespace std; int main() { string name; cout << "Введите ваше имя: "; cin >> name; cout << "Привет, " << name << "! Добро пожаловать в мир C++ :)" << endl; return 0; }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!