Language
C++
Compiler
gcc 12.1.0
Options
Don't Use Boost
Compiler Default
no pedantic
#include <iostream>
int main() {
using namespace std;
string name;
cout << "Type your name:";
cin >> name;
cout << "Your name is: " << name;
return 0;
}
hoge
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.79.0-gcc-12.1.0/include -std=gnu++2b
Type your name:Your name is: hoge
Exit Code:
0