?? assert.h
字號:
/*--------------------------------------------------------------------------
ASSERT.H
Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
All rights reserved.
--------------------------------------------------------------------------*/
#ifndef __ASSERT_H__
#define __ASSERT_H__
#undef assert
#ifndef __ASSERT_INC
#include <stdio.h> /* prototype for 'printf' */
#define __ASSERT_INC
#endif
#ifndef NDEBUG
#define assert(expr) \
if (expr) { ; } \
else {\
printf("Assert failed: " #expr " (file %s line %d)\n", __FILE__, (int) __LINE__ );\
while (1);\
}
#else
#define assert(expr)
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -