小编Sid*_*sud的帖子

C,"......的冲突类型"错误

在继续之前,这是给我一个错误的代码:

#define numScores 3             // the number of test scores which a student will have

struct btreenode{
int studentID;              // the ID number of the student at the current node

float scores[3];            // the 3 test scores of the student

float average;              // the average of the 3 test scores for the student

struct btreenode *left;     // pointer to left side of the tree
struct btreenode *right;    // pointer to right side of the tree
};

typedef struct btreenode *Node; …
Run Code Online (Sandbox Code Playgroud)

c struct typedef compiler-errors redefinition

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

c ×1

compiler-errors ×1

redefinition ×1

struct ×1

typedef ×1