Questions tagged [incompatibletypes]
The incompatibletypes tag has no usage guidance.
PSET 2 - Substitution - incompatible integer to pointer conversion using strstr function
I am doing PSET 2 - Substitution and am trying to implement a check for every character of the key to be unique. For that I create a helper array key_check, fill it with letters from the key one by ...
Pset 2 - Substitution: Incompatible Integer to Pointer Conversion Error
I've tried this over and over and can't get this right. This is only a snippet of my code. I keep on getting this error: "testcode.c:21:31: error: incompatible integer to pointer conversion ...
Incompatible pointer types even though they are both char*?
dictionary.c:70:20: error: incompatible pointer types passing 'char *' to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types] if (strcmp(checker->word, lowword) == 0) ...
CS50: Crack - 'incompatible pointer types' error
I'm getting an 'incompatible pointer types' error when I try to compile my code. Wondering if anyone can help me figure out why? Here's my code and the error:
strncopy question for pset3 "incompatible pointer types"
Hello here is my code: string num_s[slash_pos]; strncpy(num_s, fraction + 0, slash_pos - 0); where slash_pos = 2, and string fraction = "11/89". I want to get that numerator string "11". I want to ...