📄 a_5_9.cpp
字号:
#include "stdafx.h"
#include <iostream>
using namespace std;
void try_it( )
{ int a=0;
static int b=1;
cout << "a = "<< ++a<<endl;
cout << "b = "<< ++b<<endl;
}
void main()
{ int i;
for (i=0;i<3;i++)
{ try_it( );
cout<<endl;
}
cin.get(); //等待结束,以便调测程序,可以删除
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -