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
相關文章
相關標籤/搜索