下列描述错误的是?A定位到 fileObject 的第 n 个字节假设是 iosbegfileObjectseekg n ;B把文件的读指针从 fileObject 当前位置向后移 n 个字节:fileObjectseekg n ioscur ;C把文件的读指针从 fileObject 末尾往回移 n 个字节:fileObjectseekg n iosend ;D定位到 fileObject
D.应该是 "定位到 fileObject 的开头 fileObject.seekg( 0, ios::end );",应该改为 "定位到 fileObject 的开头 fileObject.seekg( 0 );"。
原文地址: https://www.cveoy.top/t/topic/gKRN 著作权归作者所有。请勿转载和采集!