C语言中的 unknown type name
#ifndef __STRUCT__#define __STRUCT__
#include <stdio.h>
#include <stdlib.h>
struct STU{
int num;
float score;
char ID;
char password;
int root;
STU *next;
};
#endif
unknown type name 'STU'
请问这个的结构定义问题出在了哪,我是按教科书上编的啊,快哭了 #ifndef __STRUCT__
#define __STRUCT__
#include <stdio.h>
#include <stdlib.h>
struct STU{
int num;
float score;
char ID;
char password;
int root;
struct STU *next;
};
#endif
页:
[1]