?? const1.cpp
字號:
#include <stdio.h>
#include <iostream.h>
#include <string.h>
#define NETWORK "A network can be loosely defined "\
"as the hardware and software that "\
"allow two entities to communicate.";
#define NETWORK "A network can be loosely defined "\
"as the hardware and software that "\
"allow two entities to communicate.";
char *str1 = NETWORK;
char *str2 = NETWORK;
int main ()
{
char *s = strstr (str1, " two");
if (s != NULL)
strcpy (s, " 2 entities to communicate");
cout << str1 << endl;
cout << str2 << endl;
return (0);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -