When delving into the C++ domain in NS2, you would be likely to find a C++ statement
assert(<expr>). For example, in file
~ns/common/agent.cc,
assert(p!=NULL)
This function inspects its input argument
<expr>. If the
<expr> is
- TRUE, it does nothing.
- FALSE, it terminates the program.
For more information, please see [
this link ].
No comments:
Post a Comment