beep boop
This commit is contained in:
parent
f0e7b33b02
commit
170cd28bfd
11
getlinetest.cpp
Normal file
11
getlinetest.cpp
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#include <iostream>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main(){
|
||||||
|
string str;
|
||||||
|
|
||||||
|
cout << "Enter literally anything: " << endl;
|
||||||
|
getline(cin, str);
|
||||||
|
cout << "Here's what you entered: " << str << endl;
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user