gpt4 book ai didi

C 列表 : dealing with typedef

转载 作者:太空宇宙 更新时间:2023-11-04 02:52:09 25 4
gpt4 key购买 nike

<分区>

是否有办法使用结构的 typedef 编写此代码?

struct s_parola{
char info[40];
struct s_parola *next;
};

我试过这段代码,但它不正确:

typedef struct {
char info[40];
t_parola *next;
} t_parola;

谢谢

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com