You can't do assignments like that. You can only assign that way when the variable is declared. Otherwise, you have to assign each member of a structure or element of an array one at a time:
Quzah.Code:struct foo { char *bar; int x; } array[] = { { "one", 1 }, { "two", 2 }, { "tre", 3 } }; /* this is valid */ struct foo instance; instance = { "four", 4 }; /* this is not */ instance.bar = "five"; /* valid */ instance.x = 5; /* also valid */