pointer to struct
Please help me!
I have the problem of rare using of c language.
in deklaration part i have defined a struct:
define NBR = 10;
typedef struct {char *name; int nr} Testtype;
in main programm i will point to Testtype (and this should be an array of NBR, but this is my problem). i did:
Testtype t_type = {"sdfsdf", 10};
Testtype *test_type = t_type;
So far so good, but who i could predefine my other (up to NBR) structs?,
thanks for helping, go.
go
|