Facebook
From pawel, 6 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 83
  1.  std::string text;
  2.         std::string pattern;
  3.  
  4.         std::cin.ignore();
  5.         std::getline(std::cin, text);
  6.         std::cin >> pattern;
  7.         text += " ";
  8.  
  9.  
  10.         std::cout << "aaa " << text << " " << pattern << std::endl;