我用xdata 数据指针定义如下
struct course xdata * xdata course1;
struct course xdata * xdata course2;
struct course xdata * xdata course3;
struct course xdata * xdata course4;
volatile struct course xdata * xdata course[4];
现我把course[4]指向course1;2;3;4;
为什么总提示:
pointer to different objects
course[0] = &course1;
course[1] = &course2;
course[2] = &course3;
course[3] = &course4;
此帖出自
小平头技术问答
一周热门 更多>