Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
getline vs cin
#include<iostream> #include<string.h> using namespace std; int main(){ string S; getline(cin,S); cout<<S << ", Hi" << endl; cin >> S; cout<<S << ", Hi" << endl; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Zadanie Kolokwium_2011_z4
Print reverese string non repeated chars
Newspaper
shell sort
Bitwise - Check power of 2 or not
member initial list
thread
cpp ex 3 - solution
expm1
role of copy constructor
stackse - search stackoverflow differently
Please log in to post a comment.