sl301.cpp

来自「Visual C++ 的学习资料一」· C++ 代码 · 共 18 行

CPP
18
字号
// sl301.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "iostream.h"

int main()
{
	int x=1,y=2,t;
	cout<<"x="<<x<<"\n";
	cout<<"y="<<y<<"\n";
	t = x;
	x = y;
	y = t;
	cout<<"x="<<x<<"\n";
	cout<<"y="<<y<<"\n";
}

⌨️ 快捷键说明

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