?? newmode.c
字號:
/***
*newmode.c - set new() handler mode to handle malloc failures
*
* Copyright (c) 1994-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Sets the global flag which controls whether the new() handler
* is called on malloc failures. The default behavior in Visual
* C++ v2.0 and later is not to, that malloc failures return NULL
* without calling the new handler. Linking with this object changes
* the start-up behavior to call the new handler on malloc failures.
*
*******************************************************************************/
#include <internal.h>
/* enable new handler calls upon malloc failures */
int _newmode = 1; /* Malloc New Handler MODE */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -