1.显示提示信息:
#pragma message("Warning: Please #define SUPPORT_DIRECTDRAW 1")
双引号内的为提示信息.
2.显示错误信息:
#error Please #define SUPPORT_DIRECTDRAW 1
显示为红色的#error : Please #define SUPPORT_DIRECTDRAW 1
1.显示提示信息:
#pragma message("Warning: Please #define SUPPORT_DIRECTDRAW 1")
双引号内的为提示信息.
2.显示错误信息:
#error Please #define SUPPORT_DIRECTDRAW 1
显示为红色的#error : Please #define SUPPORT_DIRECTDRAW 1