```
#include <iostream>
#include <cstring>
#include <string>    

void parcala(string zaman_string)
    {
        string tutucu;

        for(int i=0;i<zaman_string.length();i++)
        {

            if(zaman_string[i]!=':')
            {
                strcat(tutucu,zaman_string[i].c_str());
            }
            else
            {
                cout<<tutucu<<endl;
                tutucu="";
            }
        }
    }

```

I'm getting this error when compiling the above function:

```
Error= [Error] request for member 'c_str' in zaman_string. std::basic_string<_CharT,
_Traits, _Alloc>::operator[]<char, std::char_traits<char>, std::allocator<char>>
(((std::basic_string<char>::size_type)i))', which is of non-class type 'char'

```

Why `strcat` is rejected? IS there any alternative for strcat?