typedef struct user
{
char number[CARD_NUMBER_LENGTH
+ 1];
char password[CARD_PASSWORD_LENGTH + 1];
char name[CARD_NAME_LENGTH];
int balance;
time_t lastLoginTime;
int attempts;
user *next;//链表
} *puser;//结构体的指针
typedef struct menuitem
{
char *caption;
void(PROCEDURE *behavior)();
int enableBehavior;
} *pmenuitem;
struct global_t
{
puser users;
FILE *transactionRecorder;
puser me;
} $;
puser me;
puser users;这两行是什么意思呀?
望远
相关分类