mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-04-02 18:21:05 +08:00
refine content of assert and const
This commit is contained in:
@@ -6,12 +6,10 @@
|
||||
* @date 2019-07-25
|
||||
*/
|
||||
|
||||
# define NDEBUG
|
||||
# define NDEBUG // 忽略断言
|
||||
|
||||
#include<assert.h>
|
||||
|
||||
|
||||
|
||||
int main(){
|
||||
int x=7;
|
||||
assert(x==5);
|
||||
|
||||
Reference in New Issue
Block a user