首页 新闻 会员 周边 捐助

C++类转换成结构体报错,,求解!!!

0
悬赏园豆:10 [已关闭问题] 关闭于 2019-04-19 16:47

//结构体的声明

typedef struct Mwinddirectbaseline {
char* p;
int s;
int i;
};

typedef struct F {
char* p;
int s;
int i;
};

typedef struct H {
char* p;
int s;
int i;
};

typedef struct Coordinate1 {
char* p;
int s;
int i;
};

typedef struct Mwinddirectbar {
struct F f;
struct H h;
};

typedef struct Huxianarray {
float* Params;
};

typedef struct Hengxianarray {
float* Params;
};

typedef struct Windspeedline {
char* types;
struct Coordinate1** coordinates;
};

typedef struct Resultwindspeedgrid {
int HuxianShu;
int HengxianShu;
struct Huxianarray* HuxianArrays;
struct Hengxianarray* HengxianArrays;
};

typedef struct Resultwindspeedgrid {
struct Mwinddirectbaseline mWindDirectBaseLine;
struct Mwinddirectbar
mWindDirectBars;
};

typedef struct Winddirectline {
struct Coordinate* coordinates;
};

typedef struct Rootobject {
char* gridStartTime;
char* gridEndTime;
char* resultStartTime;
char* resultEndTime;
int gridMethod;
char* WindDirectBorder;
struct Winddirectline WindDirectLine;
char* WindSpeedBorder;
struct Windspeedline WindSpeedLine;
void* LineDateTimeRelations;
void* RatioConverts;
//void* 不确定类型
char* resultWindDirectGrid;
struct Resultwindspeedgrid resultWindSpeedGrid;
};

代码如上,求解

C++
C#爆破的主页 C#爆破 | 初学一级 | 园豆:63
提问于:2019-04-19 16:44
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册