由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - difference between FILE and struct FILE
相关主题
typedeftypedef struct的问题
how to initialize this struct.一个简单的C编程问题
为啥有人喜欢把_s结尾的结构typedef成_t结尾的,有讲究么?有段c++代码看不懂
sizeof()的问题请教一个c++ 里functor的问题
请教函数 INIT 怎么能free memory问个编程,系统,网络有关的综合问题。
请问可以这样定义struct吗?typedef 的一个问题
[合集] Interview Question请教一个rpcgen的问题
ask a question about struct in C programmingOne question about Void pointer
相关话题的讨论汇总
话题: file话题: struct话题: difference话题: between话题: sometimes
进入Programming版参与讨论
1 (共1页)
f******n
发帖数: 90
1
sometimes I see people use struct FILE, and sometimes people use FILE
directly. What's the difference?
t****t
发帖数: 6806
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?

f******n
发帖数: 90
3
or is there anything like: "struct file" ?
em, I don't why, but I kind of saw such thing somewhere before.
t****t
发帖数: 6806
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.

s*******d
发帖数: 59
5
C++里面不需要,可能为了兼容C,很多都会有个
typedef struct tag_A A;
1 (共1页)
进入Programming版参与讨论
相关主题
One question about Void pointer请教函数 INIT 怎么能free memory
Questions about c code请问可以这样定义struct吗?
用c怎么实现generic stack (转载)[合集] Interview Question
请教如何初始化这个C data structure Steque的object?ask a question about struct in C programming
typedeftypedef struct的问题
how to initialize this struct.一个简单的C编程问题
为啥有人喜欢把_s结尾的结构typedef成_t结尾的,有讲究么?有段c++代码看不懂
sizeof()的问题请教一个c++ 里functor的问题
相关话题的讨论汇总
话题: file话题: struct话题: difference话题: between话题: sometimes