⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iotypes.gml

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 GML
字号:
.ix 'common types'
The set of classes that make up the C++ class library use several
common typedefs and macros.
They are declared in
:MONO.<iostream.h>
and
:MONO.<fstream.h>
:PERIOD.
:TYPL.
:TYP index='streampos'.typedef long streampos;
:TYP index='streamoff'.typedef long streamoff;
:TYP index='filedesc' .typedef int filedesc;
:TYP index='__NOT_EOF'.#define __NOT_EOF 0
:TYP index='EOF'      .#define EOF -1
:eTYPL.
The
:MONO.streampos
type represents an absolute position within the file. For &cmppname, the
file position can be represented by an integral type. For some file systems,
or at a lower level within the file system, the stream position might be
represented by an aggregate (structure) containing information such as
cylinder, track, sector and offset.
:P.
The
:MONO.streamoff
type represents a relative position within the file. The offset can always
be represented as a signed integer quantity since it is a number of
characters before or after an absolute position within the file.
:P.
The
:MONO.filedesc
type represents the type of a C library file handle.  It is used in places
where the I/O stream library takes a C library file handle as an argument.
:P.
The &noteof. macro is defined for cases where a function needs to return
something other than &eof. to indicate success.
:P.
The &eof. macro is defined to be identical to the value provided by the
:MONO.<stdio.h>
header file.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -