Hi!
I've encountered another problem,
The code below is just the part of the code where the error occurs
int FindStr(FILE *f, char *str)
{
int s_pos; //string position in the text
int c_pos; //char position in the text
char *string;
char ccnt; //char count
s_pos = -1;
c_pos = 0;
string = malloc(strlen(str));
At the last line the compiler(DEV C++)says that there is an invalid conversion from void* to char*....
I didn't understand the error.
Can anyone explain?
Thanks in advance
Anurag