Originally Posted by
MK27
It won't work IF the struct looks like this:
Code:
struct {
char *ptr;
}
but if the code looks like this:
Code:
struct {
char string[256];
}
It will be fine.
ok so i get it that
Code:
struct {
char string[256];
}
will be fine, but my problem is that struct1 contains
Code:
struct {
char string1[256];
char string2[256];
char string3[256];
}
and struct 2 contains:
Code:
struct {
char string1[256];
char string2[256];
}
if all ofthem had only one string it would of easier, but the number varies..
how do i create\ write \ load a struct with varied amount of strings?