1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | struct Team create_team(int population, char* names[], int* favorites) {
//
team.people[i].name = my_strdup(names[i]);
//
}
int main(int argc, const char *argv[])
{
char* names[3];
names[0] = my_strdup("Paul");
names[0] = my_strdup("Paul");
team.people[0].favorite -> favorite -> favorite -> favorite -> name;
return 0;
}
|
© Copyright 2016 Alexander J. Quinn This content is protected and may not be shared, uploaded, or distributed.