安全问答

安全问答是一个知识全球问答,包含丰富的问答知识

首页 常规 游戏 娱乐 科技

下列描述错误的是?A定位到 fileObject 的第 n 个字节假设是 iosbegfileObjectseekg n ;B把文件的读指针从 fileObject 当前位置向后移 n 个字节:fileObjectseekg n ioscur ;C把文件的读指针从 fileObject 末尾往回移 n 个字节:fileObjectseekg n iosend ;D定位到 fileObject

  • 日期: 2027-01-02 19:08:03
  • 标签: 综合

D.应该是 "定位到 fileObject 的开头 fileObject.seekg( 0, ios::end );",应该改为 "定位到 fileObject 的开头 fileObject.seekg( 0 );"。

下列描述错误的是?A定位到 fileObject 的第 n 个字节假设是 iosbegfileObjectseekg n ;B把文件的读指针从 fileObject 当前位置向后移 n 个字节:fileObjectseekg n ioscur ;C把文件的读指针从 fileObject 末尾往回移 n 个字节:fileObjectseekg n iosend ;D定位到 fileObject

原文地址: https://www.cveoy.top/t/topic/gKRN 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录

  • 上一篇: 贵阳轻轨学校女生适合学什么专业?就业前景分析
  • 下一篇: 重庆市工业学校招生简章 - 培养工业技术人才的摇篮

© 2019 • 2025 - 安全问答 站长邮箱:wxgpt@qq.com    ICP备案/许可证号:豫ICP备2024104334号-2