I receive error C2106 (Compiler Error C2106 (C++))
on these 2 lines:
these are the relevant declarations at the beginning of the method:Code:data.buddy = buddyname; data.message = "AAA";
and this is my struct defined at the top of my code:Code:guchar buddyname[MAX_BUDDYNAME_LENGTH+1]; struct tapData data; struct tapData *p = &data;
the guchar buddyname is set in the code. I'm confused as to why I can't assign either value?Code:struct tapData { char buddy[20]; char message[200]; };