📄 2_1.cpp
字号:
// 2_1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
//example for C++ Declaration and Definition
extern int a; //变量声明而没有定义
extern int i(int); //函数的声明
int b; //变量声明又定义了
int i(int x) //函数的定义
{
return x+1;
}
void main(void)
{
a = 1;
i(a);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -