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

📄 edtlib.h

📁 一个完整的编辑器的代码(很值得参考
💻 H
字号:
#ifndef __EDTLIB_H
#define __EDTLIB_H

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#ifdef _AFXDLL
	#ifdef _DEBUG
		#ifdef _UNICODE
			#pragma comment(lib,"edtlibud.lib") 
			#pragma message("Automatically linking with edtlibud.dll")
		#else
			#pragma comment(lib,"edtlibd.lib") 
			#pragma message("Automatically linking with edtlibd.dll")
		#endif
	#else
		#ifdef _UNICODE
			#pragma comment(lib,"edtlibu.lib") 
			#pragma message("Automatically linking with edtlibu.dll") 
		#else
			#pragma comment(lib,"edtlib.lib") 
			#pragma message("Automatically linking with edtlib.dll") 
		#endif
	#endif
#else
	#ifdef _DEBUG
		#ifdef _UNICODE
			#pragma comment(lib,"edtlibsud.lib") 
			#pragma message("Automatically linking with edtlibsud.lib") 
		#else
			#pragma comment(lib,"edtlibsd.lib") 
			#pragma message("Automatically linking with edtlibsd.lib") 
		#endif
	#else
		#ifdef _UNICODE
			#pragma comment(lib,"edtlibsu.lib") 
			#pragma message("Automatically linking with edtlibsu.lib") 
		#else
			#pragma comment(lib,"edtlibs.lib") 
			#pragma message("Automatically linking with edtlibs.lib") 
		#endif
	#endif
#endif

#endif // __EDTLIB_H

⌨️ 快捷键说明

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