Answer the question
In order to leave comments, you need to log in
Why does 'Hello, World!' compile even though other code was entered?
For some reason, another message is being compiled, what's the matter?
Actually, it's hardly a matter of the code, rather I'm crooked)
#include "std_lib_facilities.h"
int main()
{
cout << "Введите ваше имя(и нажмите 'enter'):\n";
string firts_name;
cin >> firts_name;
cout << "Привет, << first_name << "!\n";
}
Answer the question
In order to leave comments, you need to log in
cout << "Hi, << first_name << "!\n";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question