Seems so simple but I have been pulling my hair out:
I'm just trying to create one long char from 2 short chars. Looks like this:
Compiler: incompatible types when assigning to type âchar[40]â from type âchar *âCode:// IN STRUCT DEFINITION // char imagename[30]; char dir[40]; dir = strcat( "pngimg/", option.imagename );
I feel its some kind of pointer dereferencing thing, but I'm still a noob with pointers. Thanks!