#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include "strinx.hpp"
using namespace std;
int main() {
strinx yazi = "cok duzgun bir yazi";
cout << yazi.random() << '\n'; // artik degil
putchar('\n');
strinx cumle = "bu da cok kelimeli bi yazi"; // harbi oyle
for (auto i : cumle.split())
cout << i << '\n';
putchar('\n');
strinx fikir = "Turkiye'de yoneticiler baskici ve gericidir.";
fikir = fikir.filter("baskici", "#####");
fikir = fikir.filter("gerici", "harika");
fikir.print();
putchar('\n');
strinx ters_yazi = "ad ub etsi izay zud"; // cok dogru
cout << ters_yazi.reverse() << '\n';
return 0;
}
-
Notifications
You must be signed in to change notification settings - Fork 0
TYSON-Alii/strinx
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.