ex1_02.cpp

来自「一本语言类编程书籍」· C++ 代码 · 共 13 行

CPP
13
字号
// Exercise 1.2 Writing the line "Hello World" to the screen using hexadecimal escape sequences.

#include <iostream>
using std::cout;
using std::endl;

int main() {
  cout << endl
       << "\x48\x65\x6C\x6C\x6F\x20\x57\x6F\x72\x6C\x64"
       << endl;

  return 0;
}

⌨️ 快捷键说明

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