⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 io.cpp

📁 本软件实现了模拟cpu的基本工作原理和工作过程
💻 CPP
字号:
// IO.cpp: implementation of the IO class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "AM.h"
#include "IO.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

IO::IO():	INPUT(CRect(845,275,950,305),"输入设备:"),
			OUTPUT(CRect(845,318,950,348),"输出设备:")
{
	WRITE[0].x=970;
	WRITE[0].y=21;
	WRITE[0].w=12;
	WRITE[0].h=278;
	WRITE[0].type=1;
	WRITE[0].arrow1=1;
	WRITE[0].arrow2=0;
	WRITE[0].shine=0;

	WRITE[1].x=949;
	WRITE[1].y=290;
	WRITE[1].w=30;
	WRITE[1].h=12;
	WRITE[1].type=0;
	WRITE[1].arrow1=0;
	WRITE[1].arrow2=0;
	WRITE[1].shine=0;

	DISPLACE[0].x=949;
	DISPLACE[0].y=327;
	DISPLACE[0].w=54;
	DISPLACE[0].h=12;
	DISPLACE[0].type=0;
	DISPLACE[0].arrow1=1;
	DISPLACE[0].arrow2=0;
	DISPLACE[0].shine=0;

	DISPLACE[1].x=994;
	DISPLACE[1].y=21;
	DISPLACE[1].w=12;
	DISPLACE[1].h=315;
	DISPLACE[1].type=1;
	DISPLACE[1].arrow1=0;
	DISPLACE[1].arrow2=0;
	DISPLACE[1].shine=0;
}

⌨️ 快捷键说明

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