You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the struct t_player should be placed inside the other struct t_input_data since it's also an input from the user.
the end result well be somthing like this :
typedef struct s_playrs
{
t_header header;
unsigned char *exec_code;
} t_playrs;
typedef struct s_input_data
{
int players_counter;
char *names[MAX_PLAYERS];
int ids[MAX_PLAYERS];
int nbr_cycles[2];
int fd[MAX_PLAYERS];
int visu;
t_playrs *players; // add this
} t_input_data;
The text was updated successfully, but these errors were encountered:
the struct t_player should be placed inside the other struct t_input_data since it's also an input from the user.
the end result well be somthing like this :
The text was updated successfully, but these errors were encountered: