Advertisement
sparrow02

10 przeniesienie

Dec 8th, 2019
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 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. string napis5=napis4.substr(4,7);//pierwsze wartość to od ktorej druga ile znakow
  10. cout<<napis5<<endl;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement