fig20_38.cpp

来自「经典vc教程的例子程序」· C++ 代码 · 共 12 行

CPP
12
字号
// Fig. 20.38: fig20_38.cpp
// Demonstrating min and max
#include <iostream>
#include <algorithm>

using namespace std;

int main()
{
   cout << "The minimum of 12 and 7 is: " << min( 12, 7 );
   cout << "\nThe maximum of 12 and 7 is: " << max( 12, 7 );
   cout << "\nThe minimum of 扜

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?