Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- #include <string.h>
- #include "Person.h"
- using namespace std;
- int main()
- {
- cout<<"s1=s2\n";
- TString s1("Heyyy");
- TString s2("Youu");
- s1=s2;
- s1.output();
- cout<<"s1+s2\n";
- TString s3;
- TString s4;
- TString s5;
- s5=s3+s4;
- s5.output();
- /*
- TString s61;
- s61.input();
- s61.output();
- */
- cout<<"s1%s2\n";
- TString s6("Pur");
- TString s7("Lur");
- //work with debug
- (s6%s7).output();
- cout<<"find_s2_in_s1\n";
- find_s2_in_s1(s6,s7); //і як це вивести нормально?
- cout<<"Clear Poz";
- ClearPoz(s1);//і це теж
- /*
- if(s1==s2) cout<<"Length of s1 is equal to length of s2\n" ;
- else
- {
- if(s1!=s2) cout<<"s1!=s2\n";
- if(s1<s2) cout<<"s1<s2\n";
- else cout<<"s1>s2\n";
- if(s1>=s2) cout<<"s1>=s2\n";
- else cout<<"s1<=s2\n";
- if(s1<=s2) cout<<"s1<=s2\n";
- else cout<<"s1>=s2\n";
- if(s1>s2) cout<<"s1>s2\n";
- else cout<<"s1<s2\n";
- }
- */
- //------------------------FUNCTIONS--------------------------------------
- //-----------------------------------------------------------------------
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement