c33.cpp

来自「大量的C++语言代码,可以快速的学习C++的相关知识」· C++ 代码 · 共 23 行

CPP
23
字号
// c33.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream.h>
#include "DoNothing.h"

void fn( int i );

int main(int argc, char* argv[])
{
	fn(10);
	fn(20);
	
	return 0;
}

void fn( int i )
{
	static DoNothing dn(i);
	cout << "In Function fn() with i = " << i << endl;
}

⌨️ 快捷键说明

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