Код: Выделить всё
coutПример:
Код: Выделить всё
#include
#include
using namespace std;
int main() {
string name;
cout > name;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/1484950/how-to-provide-input-to-a-console-application-using-cin-in-qt-creator[/url]
Мобильная версия