Initializing a struct with a string array member in C
Last week, I was writing some C code which used a struct that contained, among other members, an array of strings, and I wanted to initialize an array of these structs for use elsewhere in the code. My initial attempts failed with compiler messages that I’d never seen before, so instead of taking the easy […]