instructions.cpp
来自「the source of dev_c++ most of them for 」· C++ 代码 · 共 26 行
CPP
26 行
// 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 + =
减小字号Ctrl + -
显示快捷键?