I have a Struct containing about a 300 variables
and i have a string containing all the values needed to fill the struct.Code:struct Test
{
int variable1;
int variable 2;
.
.
.
int variable300;
}
is there a way to dynamically fill the data without having to set them as
can we loop through the structures variables and fill them ?Code:Test.variable1 = String1;
Test.variable2 = String2;
.
.
.
Test.variable300 = String300;
Thx