📄 main.cpp
字号:
// This file is in the public domain.// There are no restrictions on any sort of usage of this file.#include <monapi.h>#include <monapi/messages.h>#ifdef DEBUG#define PROMPT MONAPI_TRUE#else#define PROMPT MONAPI_FALSE#endifusing namespace MonAPI;int MonaMain(List<char*>* pekoe){ if (pekoe->size() < 1) { printf("usage: BZCAT FILENAME.BZ2\n"); return 1; } monapi_cmemoryinfo* mi = monapi_call_file_decompress_bz2_file(pekoe->get(0), PROMPT); if (mi == NULL) return 1; printf((const char*)mi->Data); monapi_cmemoryinfo_dispose(mi); monapi_cmemoryinfo_delete(mi); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -