66问答网
所有问题
有关c语言中,结构体知识?
为什么编译不出来呢?希望可以帮我一下,谢谢。
举报该问题
推荐答案 2020-04-19
emmm,对C已经不熟悉了,结构体的话,可能不一定能直接赋值。
我知道可能可行的方法是:
People *people=(People *)malloc(sizeof(People));
people->name=″san″;
people->age=26;
people->height=175;
people->weight=80;
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://66.wendadaohang.com/zd/2spxviixvsnUsvpUns.html
相似回答
大家正在搜
相关问题
关于C语言中的结构体?
C语言中,关于结构体的应用。
有关于C语言结构体的问题
c语言中关于结构体
C语言中有关结构体的请教
c语言中关于结构体类型的定义
是关于C语言中结构体的问题
C语言中一个关于结构体的问题