error C2440: “初始化”: 没法从“double”转换为“STU”

#include <stdio.h> #include"string.h" typedef struct {  char name[9];  char sex;  float score[2]; }STU; void f(STU a) {  STU b=(“Zhao”,‘m’,85.0,90.0);  int i;  strcpy(a.name,b.name);  a.sex=b.sex;  fo
相关文章
相关标签/搜索