?? ch03.04.c
字號:
// #include <iostream>
#include <iostream.h>
const char *st = "The expense of spirit\n";
/**
** 22:
**/
int main()
{
int len = 0;
// oops: this advances st until it addresses
// the terminating null of the string
while ( *st++ ) ++len;
cout << len << ": " << st << endl;
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -