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

📄 head.cpp

📁 一个Windows下的Linux专用虚拟机
💻 CPP
字号:
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@gmx.net>, 2003-2004 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. * */#include <windows.h>extern "C" {#include <colinux/common/debug.h>#include <colinux/os/user/misc.h>}#include <colinux/user/console-base/main.h>#include "console.h"COLINUX_DEFINE_MODULE("colinux-console-nt");int main(int argc, char **argv){	int status;	global_window = new console_window_NT_t;	if (!global_window) {		co_terminal_print("Unable to create console window");		return -1; 	}	try {		status = co_user_console_main(argc, argv);	} catch(...) {		co_debug("The console program encountered an exception.");		status = -1;	}	delete global_window;	return status;}

⌨️ 快捷键说明

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