rootuss

wyjmowanie z lancucha

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