1
#define PRINT(value) printf( #value " = %d/n", value );
2
#ifndef SAFE_RELEASE
#define SAFE_RELEASE(x) { if (x) { x->Release(); x = NULL; } }
#endif
#ifndef SAFE_DELETE
#define SAFE_DELETE(x) { if (x) { delete x; x = NULL; } }
#endif
3
#define UNREFERENCED_PARAMETER(P) { (P) = (P); }