Posts Tagged ‘logic programming errors’
 
 
 
C/C++ Programming
 
assert
assert
assert

Use Assert to Catch Logic Programming Errors

The assert macro is a very nice utility for programmers. It may sound complicated, but it is just a small macro that exits the program, giving us some debugging information on where the assertion happened, if a certain conditio...