[an error occurred while processing this directive]
后现代文学的里程碑--VC++文学
俺老农对硅谷女小资的理解
俺老农本来这两天因为写VC的程序写不出来,觉得特别的烦。一帮硅谷的女小资们还用12打玫瑰啦,油嘴啦, bisexual之类及其小资的语言来骚扰俺们。害的俺老农的程序里面尽是小资,小资。。气的俺老农没办法,也用一段MFC的程序来烦烦硅谷女小资吧。
class硅谷女小资: public小资
{ public: virtual BOOL俺是不是小资();
private: String小资name;
}
BOOL俺是不是小资()
{ if小资name="sparc" return TRUE;
if小资name="伊可" return TRUE;
if小资name="奇奇" return TRUE;
if小资name="newcomer"
return FALSE;
if小资name="dnd"{ AfxMessageBox"Are you kidding?";
AfxMessageBox"你也是小资,还不如杀了我吧?";
systemshutdown();}
BEGIN_MESSAGE_MAP(硅谷女小资,小资)
ON_WM_奇奇小资的男人在加班()
ON_WM_奇奇小资要梳辫子()
ON_WM_sparc小资在吃饭()
ON_WM_伊可小资看完AllyMcBeal()
ON_WM_dnd发表新编“红玫瑰和白玫瑰”()
END_MESSAGE_MAP()
void C女小资Frame:: ONbutton奇奇小资的男人在加班()
{买12打玫瑰送过去();}
void C女小资Frame:: ONbutton奇奇要梳辫子()
{ call external奇奇的男人帮着梳();}
void C女小资Frame:: ONbuttonsparc小资在吃饭(){ if sparc kiss your left face{ if小资name="dnd" exit(1); if小资name="sparc's男人“{ AfxMessageBox("请把右脸伸过来”)
if右脸伸过来== FALSE wait(); if右脸伸过来== TRUE{ kiss(); wash_face();\\this function is implemented in the beta version, I'll check with sparc and write the final version.}
}
}
void C女小资Frame:: ONbutton伊可小资看完Ally McBeal(){ if(AfxMessageBox("你会不会和一个bis exual的异性恋爱或者结婚", MB_YESNO))==IDYES Youarea小资(); else Youarea贫下中农();}
void C女小资::OnPaint(){ CpaintDC dc(this); if象五号砂纸 dc.textout(0,0,"请使用body lotion");
}
[an error occurred while processing this directive]