?? io20_1.06.c
字號:
// #include <iostream>
#include <iostream.h>
/**
** note: the actual address value will vary
** The address of pstr is: 0x10012110
**
**/
const char *str = "vermeer";
int main()
{
// ok: force treatment of pstr as an address
const char *pstr = str;
cout << "The address of pstr is: "
<< static_cast<void*>(const_cast<char*>(pstr)) << endl;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -