For some reason, I catch a conversion error from void * to char * when using the malloc function.
char *strLine = (char *)malloc(256); strLine = memset(strLine, 0x00, 256); The error occurs exactly in the second line. The compiler points out to me, they say, dear user, that you incorrectly declared the strLine variable. Googled - found a very similar problem, too, using malloc , but everything was decided by adding this ** (char *) ** before malloc. So what's the deal? Why doesn't it help me?
void*implicitly converted tochar*. - αλεχολυτ