📄 data10_01.cpp
字号:
// File data10_01.cpp
#include <string>
using std::string;
// The next two variables have external linkage
int count; // Will be initialized to 0 by default
float phi = 1.618f; // The divine proportion or golden ratio
// Without the extern, the following would not be accessible
// from another file because they would have internal linkage
extern const double pi = 3.14159265;
extern const string days[] = {
"Sunday", "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday"
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -