I create a structure like this:
struct test MyStruct;
Now some values are written into it.
My Problem is, i need to determine, which element is empty / has no allocated value.
How can I do this?
Initialize the structure with a loop, and set all elements to 0x00, that way you can check quickly if a string was set.
Another option would be to add an additional field to the test struct, to indicate wether the struct has no allocated value, is empty, or has a value…