| 総合手引 | セクション 3 | English | Deutsch | オプション |
#include <assert.h>
expression が真の場合、 assert() マクロは何もしません。
assert()
マクロはコンパイル時に
NDEBUG
をマクロとして定義することで除去できます
(例えば
cc(1)
のオプション
"assertion \"%s\" failed: file \"%s\", line %d\n", \
"expression", __FILE__, __LINE__);
| ASSERT (3) | January 26, 1999 |
| 総合手引 | セクション 3 | English | Deutsch | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
| “ | … one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. | ” |
| — Robert Firth | ||