Untitled

 avatar
ketronix
c_cpp
2 years ago
164 B
5
Indexable
string word = "креативный";
for(int i = 0; i < word.lenght(); i++)
{
    cout << word[i] << endl;
    if(word[i] = 'e')
        cout << "split" << endl;
}
Editor is loading...