代码拉取完成,页面将自动刷新
#pragma once
#include <windows.h>
#include "_string.h"
////////////////////////////////////////////////////////////////////////// 弹框
#define ccc_msgbox(...) MessageBoxA(nullptr, toString(__VA_ARGS__).c_str(), __FUNCTION__, MB_OK);
#define ccc_box(_one_) MessageBoxA(nullptr, cpp::toString(_one_).c_str(), __FUNCTION__, MB_OK);
////////////////////////////////////////////////////////////////////////// CRTDBG
inline void ccc_crtdbg(const char *file, int line)
{
#if defined(_DEBUG)
#include <crtdbg.h>
_CrtDbgReport(_CRT_WARN, file, line, nullptr, "");
#endif
}
////////////////////////////////////////////////////////////////////////// 定位输出
#define ccc_log(...) do{\
ccc_crtdbg(__FILE__, __LINE__);\
std::string _str_ = "★★点击定位★★ ";\
_str_ += toString(__VA_ARGS__) + "\n";\
OutputDebugStringA(_str_.c_str());\
}while(0)
////////////////////////////////////////////////////////////////////////// asert
#define asert(_cond_, ...)\
if(!(_cond_))\
{\
ccc_msgbox(__VA_ARGS__);\
DebugBreak();\
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。