fstream? [英] fstream ?
问题描述
在我诉诸fopen之前家人,可以请一些人在网上关于fstream的指导我。家庭。
我已经完成了大约10个参考文献,他们都是完全废话。我想要找到简单问题的简单答案。
构造函数究竟做了什么?整个eof的工作原理是什么?
-JKop
JKop< NU ** @ NULL.NULL>写道:
在我诉诸fopen之前家人,可以请一些人来指导我在网上关于fstream的教程。家庭。
不是教程而是参考,也许有帮助:
http://www.cppreference.com/cppio.html
我已经完成了大约10个引用并且它们都是完全废话。我正在试图找到简单问题的简单答案。
构造函数究竟做了什么?整个eof的工作原理是什么?
参见参考资料。
HTH&&亲切的回归,
Nicolas
-
| Nicolas Pavlidis | Elvis Presly:| \ | __ |
| SE& s的学生KM | 进入goto | \ | __ | |
| pa****@sbox.tugraz.at | ICQ#320057056 | |
| -------------------格拉茨技术大学---------------- |
http://www.cppreference.com/cppio.html
谢谢,但这是在我的废话的顶部。 list。
-JKop
在尝试读取结束后设置eof标志。打开一个大小为0的文件后,它不会被设置为
。
Fraser。
" JKop" < blockquote class =post_quotes>
在我诉诸fopen之前家人,可以请一些人来指导我在网上关于fstream的教程。家人。
我已经完成了大约10个参考文献,他们都是完全废话。
我正试图找到简单问题的简单答案。
构造函数究竟做了什么?整个eof的工作原理是什么?
-JKop
Before I resort to the "fopen" family, can some-one please direct me to a
tutorial on the net about the "fstream" family.
I''ve gone through about 10 references and they''re all complete bullshit. I''m
trying to find simple answers to simple questions.
What exactly does the constructor do? How does the whole eof thing work?
-JKop
JKop <NU**@NULL.NULL> writes:
Before I resort to the "fopen" family, can some-one please direct me to a
tutorial on the net about the "fstream" family.
Not a tutorial but a reference, maybe it helps:
http://www.cppreference.com/cppio.html
I''ve gone through about 10 references and they''re all complete bullshit. I''m
trying to find simple answers to simple questions.
What exactly does the constructor do? How does the whole eof thing work?
See the reference.
HTH && Kind regrads,
Nicolas
--
| Nicolas Pavlidis | Elvis Presly: |\ |__ |
| Student of SE & KM | "Into the goto" | \|__| |
| pa****@sbox.tugraz.at | ICQ #320057056 | |
|-------------------University of Technology, Graz----------------|
http://www.cppreference.com/cppio.html
Thanks, but that''s right at the top of my "bullshit" list.
-JKop
The eof flag is set after an attempt to read past the end. It won''t be set
after opening a file of size 0.
Fraser.
"JKop"
Before I resort to the "fopen" family, can some-one please direct me to a
tutorial on the net about the "fstream" family.
I''ve gone through about 10 references and they''re all complete bullshit. I''m trying to find simple answers to simple questions.
What exactly does the constructor do? How does the whole eof thing work?
-JKop
这篇关于fstream?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!