Advertisement
mikjaer

Untitled

May 14th, 2017
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <regex>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. string fv;
  9. regex e ("[,]",std::regex_constants::icase);
  10.  
  11. cout << "Indtast something, something: ";
  12. getline (cin, fv);
  13.  
  14. cout << "Mangeling ...\n\n";
  15. cout << regex_replace(fv, e, ".");
  16. cout << "\n\n";
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement