1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef MAKERANK_H #define MAKERANK_H #include "config.h" #define COMPUTER_FILE DEFAULT_LISTS "/computer" #define MAX_LOGIN_NAME 21 typedef struct _Entry { char name[MAX_LOGIN_NAME]; int computer; ratings r[4]; } ENTRY; typedef struct _ratings { int num; int rating; } ratings; #endif