Advertisement
pcwizz

works fine

Jun 26th, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. int main(){
  5.     std::string string;
  6.     std::cout << "Enter some string\n";
  7.     getline(std::cin, string);
  8.     std::cout << "Your string:\t" << string << std::endl;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement