文章目录
- c++ 输入文件流`ifstream`用法详解
-
- 输入流的继承关系:
- C++ 使用标准库类来处理面向流的输入和输出:
-
- 成员函数
-
- Public member functions
- 1. `(constructor)`
- 2. `ifstream::open`
- 3. `ifstream:: is_open`
- 4. `ifstream:: close`
- 5. `ifstream:: rdbuf`
- 6. `ifstream:: operator =`
- Public member functions `inherited from istream`
-
- 7. `std::istream::operator>>`
- 8. `istream::gcount`
- 9. `istream::get`
- 10. `istream::getline`
- 11. `istream::ignore`
- 12. `istream::peek`
- 13. `istream::read`
- 14. `istream::putback`
- 15. `istream::unget`
- 16. `istream::tellg`
- 17. `istream::seekg`
- Public member functions `inherited from ios`
-
- 18. `ios::good`
- 19. `ios::operator!`
- 20. `ios::operator bool`

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/11992.html