Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by AlbertZeyer ( 17 years ago )
#include <iostream>
#include <cassert>
&Acirc;&nbsp;
using namespace std;
&Acirc;&nbsp;
#define GIVE_WARNING&Acirc;&nbsp; &Acirc;&nbsp; 0/0
&Acirc;&nbsp;
#define ASSERT(e) &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; { 
if(__builtin_constant_p(e)) { 0 / ((e) ? 0 : 1); } 
else assert(e); }
&Acirc;&nbsp;
int main() {
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; ASSERT(true);
&Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; &Acirc;&nbsp; ASSERT(false);
}
&Acirc;&nbsp;

 

Revise this Paste

Parent: 5876
Your Name: Code Language: