typedef struct
{
char STCD[8];
char TM[40];
float Z, Q, XSA, XSAVV, XSMXV;
int FLWCHRCD, WPTN, MSQMT, MSAMT, MSVMT;
}RIVER;
RIVER addInfomation2(char STCD[8], char TM[40], float Z, float Q, float XSA, float XSAVV, float XSMXV, int FLWCHRCD,int WPTN, int MSQMT, int MSAMT,int MSVMT) {
RIVER st2 = {STCD,TM,Z,Q,XSA,XSAVV,XSMXV,FLWCHRCD,WPTN,MSQMT,MSAMT,MSVMT};
return st2;
}
这一段代码报错:初始化"."char”与”char *"的间接级别不同可以提供下解决方法吗