code of the day

#define life 
#define i_want_to_have_my life protected 

class Life 
{ 
i_want_to_have_my: Life(){} 
}; 

int 
main() 
{ 
    Life *my = new Life; 
    return -1; 
}

% g++ this_code.cpp

back to top