C is not so smart, so you have to splitYou can use this (but look at the commandsaccepted answer, using strcpy for copyingit shows a string (dynamicallymuch neater way), and assign the structure elements one by one:.
strcpy(fields[F_STATE].f_txt, "HALTED");
fields[F_STATE].f_inhibit = FALSE;
strcpy(fields[F_PULSE].f_txt, "@");
fields[F_PULSE].f_inhibit = TRUE;
I don't have a compiler so I hope it's correct.
When using C++ you can use a constructor or assignment operator, but C does not have these object oriented features.