SHARE
TWEET

7 usuwanie elementów

sparrow02 Dec 8th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include<string.h>
  3. #include<algorithm>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.    string napis4="Ala ma kota";
  9.    napis4.erase(2,2);//pierwsze wartość to od ktorej druga ile znakow
  10.    cout<<napis4<<endl;
  11.    }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top