main.cpp

来自「C++轻量级分析器」· C++ 代码 · 共 17 行

CPP
17
字号
#include "..\..\..\Library\Platform\VL_Console.h"

using namespace vl;
using namespace vl::platform;

#define RUN(NAME) do{extern void NAME();GetConsole()->WriteLine(L"====================" L#NAME L"====================");NAME();GetConsole()->Write(L"按[ENTER]继续");GetConsole()->WaitForEnter();}while(0)

void vlmain()
{
	GetConsole()->SetTitle(L"Vczh Combinator Parser Demo");
	GetConsole()->SetTestMemoryLeaks(true);
	GetConsole()->SetPauseOnExit(true);

	RUN(NumberList_Main);
	RUN(IniFile_Main);
	RUN(Expression_Main);
}

⌨️ 快捷键说明

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