Say I have the following structs:
Code:
struct stA
{
int Num;
stB Other[100];
}One;
struct stB
{
char list[100];
int Num2;
}Two;
then how would I go about putting a string value into the second struct type stB in position 0 in the location list?
This is all I can figure, but when I print it all I get is a whole screem of jiberish:
Code:
char C[100] = "asdf";
One.Two[0].list = C[100];
It just doesnt work.. anyone got an idea? do I have to declare it some how else?? I think there is a way to do it using curly brackets but I couldnt get that to work either.. HELP!