#include <iostream> using namespace std; #define LUANGUAGE_EXTENSIONS #ifdef LUANGUAGE_EXTENSIONS int main() <% for (int i=0; i<5; i++) <% cout << "i: " << i << endl << "(i and 0) : " << (i and 0) << endl << "(i or 0) : " << (i or 0) << endl << "not i : " << not i << endl << "--------------------------" << endl; %> %> #else int main() { for (int i=0; i<5; i++) { cout << "i: " << i << endl << "(i && 0) : " << (i && 0) << endl << "(i || 0) : " << (i || 0) << endl << "!i : " << !i << endl << "--------------------------" << endl; } } #endif