Компилятор выдаёт ошибку: Cannot convert 'int' to 'const char *'
Скажите пожалуйста, в чём причина??
struct str
{
char symbol;
unsigned int count;
double probability;
};
typedef str STR;
STR Alph[n];
//-----------------------------------
char FindSymbol(char c,char m)
{
for(int i=0;i<m;i++)
if(!stricmp(Alph[i].symbol, c)) return i; //здесь ошибку выдаёт..
return -1;
}