📄 instructions.cpp
字号:
// Instructions
// Demonstrates writing new functions
#include <iostream>
using namespace std;
// function prototype (declaration)
void instructions();
int main()
{
instructions();
return 0;
}
// function definition
void instructions()
{
cout << "Welcome to the most fun you've ever had with text!\n\n";
cout << "Here's how to play the game...\n";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -