rootuss

replace zastap

Feb 27th, 2017
174
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     string napis="Ala ma kota";
  8.     napis.replace(4,2,"nie ma");
  9.  
  10.     cout<<napis;
  11.     return 0;
  12. }
RAW Paste Data