Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <algorithm>
- using namespace std;
- struct Struktura
- {
- bool funkcja(string& wyraz1, string& wyraz2)
- {
- string str1(wyraz1), str2(wyraz2);
- transform(str1.begin(),str1.end(),str1.begin(),tolower());
- transform(str2.begin(),str2.end(),str2.begin(),tolower());
- return (str1 < str2);
- }
- };
- int main()
- {
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment