C
Clunixchit
i have these structures in my program,
typedef struct Loading {
char **name; // Name of the program
int pid; // current pid of the program
struct Loading *prec;
struct new_phrase *line;
} Loading ;
typedef struct {
int N; // number of words
char **T; // words stored in an array
} new_phrase;
i want to initialize N through line in the structure Loading.
i dont know how to do that.
i thought of something like (*load).(*line).N=45;
while having
Loading *load;
any suggestions?
typedef struct Loading {
char **name; // Name of the program
int pid; // current pid of the program
struct Loading *prec;
struct new_phrase *line;
} Loading ;
typedef struct {
int N; // number of words
char **T; // words stored in an array
} new_phrase;
i want to initialize N through line in the structure Loading.
i dont know how to do that.
i thought of something like (*load).(*line).N=45;
while having
Loading *load;
any suggestions?