C++ examples for Preprocessor:Macro
Use of the assert() debugging macro
#include <cassert> // Contains the macro using namespace std; int main() {//from w w w .j ava 2 s. c o m int i = 100; assert(i != 100); // Fails }