📄 main.cpp
字号:
#include <iostream>
#include <stdlib.h>
#include <string>
using namespace std;
string *GetNotSoSecretCode() {
string *code = new string("ABCDEF");
return code;
}
int main(int argc, char *argv[])
{
string newcode;
int index;
for (index = 0; index < 10; index++) {
newcode = *GetNotSoSecretCode();
cout << newcode << endl;
}
system("PAUSE");
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -