An Array of structs
Posted on 2005-04-10
Guys (and girls),
Two questions. Basically, I want to design an array of structs in C. And in these structs I want dynamic string allocation. I'm having major problems implementing this in the C language. Can anyone tell me where I'm going wrong?
My code would look something like this...
Without even taking the dynamic strings within the structs into account, I can't get my program to recognize myStruct as a valid type. What am I missing?