io20_9.02.c

来自「C++Primer中文版 第三版 深入系列 Primer 第三版 著 中」· C语言 代码 · 共 18 行

C
18
字号
#include <iostream>

/**
 ** not executed: standard library with boolalpha not available
 **
 **/

int main()
{
    bool illustrate = true;

    cout << "bool object illustrate set to true: "
         // changes state of cout to print bool values
         // using the strings true and false.
         << boolalpha
         << illustrate << endl;
}

⌨️ 快捷键说明

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