Advertisement
sparrow02

7 usuwanie elementów

Dec 8th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement