Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- int main(){
- std::string string;
- std::cout << "Enter some string\n";
- getline(std::cin, string);
- std::cout << "Your string:\t" << string << std::endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement