📄 readme.wzd
字号:
/////////////////////////////////////////////////////////////////////
// Modify any include file.
/////////////////////////////////////////////////////////////////////
// 1) to define a macro
#define WZD1
#define WZD2 7
#define WZD3(arg1,arg2) \ //"\" is continuation character (must not be anything on line after "\"!)
arg1+arg2; // ex: WZD3(1,2) becomes: 1+2
// 2) to define a conditional macro
#ifdef WZD1 //if defined, process next
#undef WZD1 //undefine WZD1
#endif
#ifndef WZD1 //if WZD1 not defined, process next
#endif
#if WZD2 == 5 //if WZD2 equals 5, process next
//
#elif WZD2 > 6
//
#else
//
#endif
// 3) to manipulate tokens passed to a macro
#define WZD4(arg1,arg2) \
arg1+#arg2; // "#" inserts double quotes around arg2
// ex: WZD4(1,test) becomes: 1+"test"
#define WZD5(arg1,arg2) \
arg1+#@arg2; // "#@" inserts single quotes around arg2
// ex: WZD5(1,t) becomes: 1+'t'
#define WZD6(arg1,arg2) \
arg1+arg2##3; // concatinates arg2 to token
// ex: WZD6(1,2) becomes: 1+23
// 4) some macros that are filled in by the compiler
// __FILE__ is the current source file name
// example: Print(__FILE__); substitutes "WzdPrjct.cpp" for __FILE__
// __LINE__ is the current source file line
// example: Print(__LINE__); substitutes "41" for __LINE__
// __DATE__ does the same for the date the file was compiled
// __TIME__ does the same for the time the file was compiled
// __cplusplus indicates this source module is being compiled using C++
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1999 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -