std::ios_base::openmode
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| typedef /*implementation defined*/ openmode; |
||
| static constexpr openmode app = /*implementation defined*/ static constexpr openmode binary = /*implementation defined*/ |
||
指定提供文件开放的标志。这是一个
BitmaskType,下面的常量定义 Original:
Specifies available file open flags. It is a
BitmaskType, the following constants are defined: The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
| 常数
Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Explanation |
| app | 寻求每次写操作之前的数据流结束
Original: seek to the end of stream before each write The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| binary | 打开二进制模式
Original: open in binary mode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| in | 打开阅读
Original: open for reading The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| out | 打开写作
Original: open for writing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| trunc | 丢弃打开时的流的内容
Original: discard the contents of the stream when opening The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| ate | 寻求到的数据流结束后,立即打开
Original: seek to the end of stream immediately after open The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 为例
| 本节是不完整的 原因: no example |