I mean you have a few spelling errors mostly... that's one issue. A few others:
Here is a working code. You can delete the for loop, but it shows that you have 7 structs in the array.
Here is a working code. You can delete the for loop, but it shows that you have 7 structs in the array.
Code
#include <stdio.h>
#define N 7
typedef struct
{
char name [26];
int score;
} Player;
int main (int argc, char* argv[] ){
Player players[N];
printf("Hello world!\n");
int i;
for(i = 0; i < N; i++){
players[N].score = i+1;
printf("Player %d is made.\n", i+1);
}
return 0;
}
