P
priyanka
Hi there,
Can anyone show me how the assert() function works ? I need to develop
my own assert() function instead of using the one defined in the
assert.h file. It would be great if anyone could show me the actual
source code of assert() function in assert.h header file.
I need to write the assert function that prints out error message when
the expression is wrong. For eg.,
int a = 2;
int b=3;
ASSERT (a == b);
Thank you,
Priyanka
Can anyone show me how the assert() function works ? I need to develop
my own assert() function instead of using the one defined in the
assert.h file. It would be great if anyone could show me the actual
source code of assert() function in assert.h header file.
I need to write the assert function that prints out error message when
the expression is wrong. For eg.,
int a = 2;
int b=3;
ASSERT (a == b);
Thank you,
Priyanka