Redian新闻
>
difference between FILE and struct FILE
avatar
difference between FILE and struct FILE# Programming - 葵花宝典
f*n
1
sometimes I see people use struct FILE, and sometimes people use FILE
directly. What's the difference?
avatar
t*t
2
there should not be any "struct FILE" unless you define one (in which case,
they are equivalent).

【在 f******n 的大作中提到】
: sometimes I see people use struct FILE, and sometimes people use FILE
: directly. What's the difference?

avatar
f*n
3
or is there anything like: "struct file" ?
em, I don't why, but I kind of saw such thing somewhere before.
avatar
t*t
4
of course you can define a "struct file"

【在 f******n 的大作中提到】
: or is there anything like: "struct file" ?
: em, I don't why, but I kind of saw such thing somewhere before.

avatar
s*d
5
C++里面不需要,可能为了兼容C,很多都会有个
typedef struct tag_A A;
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。