Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- unsigned long F_Rec(string str)
- {
- string::size_type k = 0, pos = 0;
- cout << "Enter string" << endl;
- getline(cin, str);
- k = str.find(tolower, pos);
- if (k == string::npos)
- {
- str.insert(k + 1, "...");
- pos = k + 3;
- k = str.find(tolower, pos);
- }
- return F_Rec()
- }
- int main()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement