程序员的情书

时间:2023-02-12 18:58:38

1.

if   you.isMM()then  
                me.ROSE2(you)  
                    if   you.isSINGLE()   and  
                          you.isPRETTY()   then  
                          me.INVITE(you)  
                          if   me.success   then  
                                me.haveAGREATVALENTINE(me   and   you)  
                                me.happy  
                                you.happy  
                            endif  
                        endif  
                        else  
                              me.sayHELLO2(you)  
                              me.sayBYE2(you)  
   
                endif   
    

2.

  如果你是显示器,我就当示保屏,保护你不被伤害。

  如果你是鼠标,我就当鼠标垫,让你一路不在颠簸坎坷。

  如果你是cpu,我就当硅胶和风扇,免你操劳过度,为你分担辛苦,赶走劳累。

  如果你是内存,我就当插槽,给你一个舒适居住的家。

  如果你是硬盘,我就当数据线,我要把所有的快乐传输给你。

  
  我是显示器,你是示保屏,失去你,我将伤痕累累。

  我是鼠标 ,你是鼠标垫,失去你,我的一生将坎坷不堪。

  我是cpu,你是硅胶和风扇,没有你在身边,我只有等着烧爆挂掉。

  我是内存,你是插槽,失去你,我将一人孤单流浪。

  我是硬盘,你是数据线,失去你,没人能再给我无限美好的回忆,留下空荡荡的噩梦。 

3.

   打开Microsoft Visual(R) C ++ , 选择 Win32 Console Application 工程 将本程序Love.cpp 引入 哈哈计算机都被感动了!^_^
 

 

// It's my first love letter in my life 这是我这辈子写的第一封情书
// To my beloved girl--Lanbell   写给我心爱的女孩--Lanbell
// I hope she can see it 我希望她能够看到
// written by Crazy 6/16/2000 Crazy作于2000年6月16日

//#include<love.h>
const int years=10000;//定义符号常量10000年
class U //定义关于“你”的类U
{ public: char name[7];
int pretty,clever,spry,charming,kind2me;
};
class I //定义关于“我”的类I
{ public: char name[5];
int loveU,missU,needU,haveU;
loveU(int a) { …… }
happy(int a) { …… }
unhappy(int a) { …… }
doEverything4U( ) { …… }
};
void main( )
{ U.name="Lanbell";
I.name="Crazy";
U.pretty=1;//1表示“真”,0表示“假”
U.clever=1;
U.spry=1;
U.charming=1;
U.kind2me=1;
if(U.pretty&&U.clever&&U.spry&&U.charming&&U.kind2me)
 //因你的可爱、聪慧、活泼、迷人
 //以及你之于我的柔情似水
I.loveU=1; //所以我爱上你
if(I.loveU) I.missU=1; //因为爱你所以会想你
if(I.missU) I.needU=1; //因为想你所以需要你
if(I.needU) I.haveU++; //因需要你进而便更想拥有你
I.happy(I.haveU); //因拥有你而快乐
I.unhappy(!I.haveU); //因没有你而失落
I.loveU(years); //但不管怎样,我会爱你一万年
I.doEverything4U( ); //会无条件为你做一切
cout<<U.name<<",I love you!"<<endl; //Lanbell,I love you!
cout<<"I love you in faith!"<<endl; //I love you in faith!
cout<<"I love everything of yours!"<<endl; //I love everything of yours!
cout<<"So,please,be mime,baby!"<<endl; //So,please,be mine,baby!
cout<<" Yours,"<<I.name<<endl; // Yours,Crazy}

4.

   
    

溢出你心

By: Neeao

Love程序写再好,却无法运行在你的心田。
服务器入侵的再多,能得到你心的只有Friend权限。

是你用了love的专杀软件,杀了我的Love shell?
还是谁给你心设置了防火墙,拒绝我所有对你心更高的访问权限?

寻找其他的提权,
开启我心的snifferlove
无奈Love隧道加密成为我的难点。

找不到你心再高权限的注入点,
扫不到你心更高权限的空口令,
更找不到心更高权限的溢出点。

你心设置了nRnd+md5加密的密码,
让我难以给sniffer下断点。

再忽略所有异常,
却还是嗅探不到你心的更高权限。

所有对我的回应都是Loading,
难道你心里放置了一个蜜罐,诱导我进入一个死循环!

虽然我们是不同的系统,都有安全的一面,
我相信总有一天你会开放你的安全接口,
因为这个是Love安全发展的必然。

我愿做你心Administrator的指针,
在茫茫内存的堆栈中,
永远指向我心的地址,不孜不倦!

我愿做你系统的RPC,
供你无限次的调用,
直到我们之间的通信中断!

我愿做你心的防火墙,
和你同进退共生死,
一起经受别人DDOS的考验!

只是我不愿苦苦地嗅探你的心情,
最终沦为你心的VLAN!

但愿有一天能你我心之间能架起真正的LAN,
把我心的Administrator给你管!

没任何奢求,
只愿做你心Administrators的Only One!
文中一些名词的解释:

Friend:朋友!

蜜罐:是管理员设下的一个陷阱

Sniffer,中文可以翻译为嗅探器,是一种威胁性极大的被动攻击工具

nRnd:N倍的随机数

md5:一种不可逆的加密算法

LAN,局域网

VLAN,虚拟局域网

RPC 就是Remote Proceduce Call的缩写。RPC是Windows操作系统使用的一个协议,它提供了一种进程间通信机制。通过这一机制,在一台计算机上运行的程序可以顺畅地执行某个远程系统上的代码。

Administrator :管理员,管理权限

Administrators:windows系统中的管理员组


                                                         

5.

   本世纪最强的程序员情书 起因:
CSDN 上有会员要追女朋友,要大家帮他用程序写个情书
“用一段程序来形容一个女孩的美丽,写上几行代码就可以了!在线等待”

下面为征来的程序(情书):
for (int i = 1 ;i<1000000000000000000000000000000000 ;i++)
  say("u'r beautiful") ;
**************************************************
__try
{
FOREVER:
    while(1)
       说("你真美") ;
}
__except(EXCEPTION_EXECUTE_HANDLER)
{
    喝口水();
    歇一下();
    goto FOREVER;
}
********************************************
Girl butterfly;
Boy InsideBlue;
try
{
     if(butterfly.feature>西施.feature)//如果她比西施漂亮
     {
          butterfly.marriage(null); //世界上没有男人敢追她;
     }
     else
     {
          while(true)//我今生今世天天kiss you
          {
                InsideBlue.kiss(butterfly);
          }
     }
}
catch(...)
{
     InsideBlue.go(temple);
}
********************************************
if( ! beautiful)
  I do not love you!;
else
    Love you forever;
********************************************
写的太简单了没意思.要写复杂一点来表示你的爱意.
程序结构要系统化,无论发生什么错误都会返回一个结果,"美".
********************************************
还要建模,测试,文档之类的东西
********************************************
#include
#include
class CSayBeauty
{
private:
    int size;
    char *ptr;
public:
    CSayBeauty() : size(0), ptr(new char('/0')) {}
    CSayBeauty(const CSayBeauty &s) : size(s.size)
    {
        ptr = new char[size + 1];
        strcpy(ptr, s.ptr);
    }
    ~CSayBeauty()
    {
        delete [] ptr;
    }
friend ostream &operator <<(ostream &, const CSayBeauty &);
    CSayBeauty &operator=(const char *);};
    ostream &operator<<(ostream &stream, const CSayBeauty &s)
    {
        return(stream << s.ptr);
    }
    CSayBeauty &CSayBeauty::operator=(const char *chrs)
    {
        if (this != &chrs)
        {
            delete [] ptr;
            size = strlen(chrs);
            ptr = new char[size + 1];
            strcpy(ptr, chrs);
        }
        return(*this);
    }
int main()
{
    While(1)
    {
        CSayBeauty SayBeauty;
        SayBeauty = new SayBeauty("You are so Beautiful...");        
        cout << SayBeauty << endl;
   }
   //直到系统崩溃……
}
***************************************************
iif(你=我的梦中情人,"美","无所谓")
***************************************************
    if (1)
       {
             echo "You are Beautiful...";
       }
//够酷吧
?>
***************************************************
always @(girl)
begin
鱼<=沉;
雁<=落;
你<=迷;
end
***************************************************
import girl.*;
import i.*;
public class Love extends HTML implements Baby //html=大家都知道吧!呵呵
{
.......
public void do()
{
    .....
}
  
   public static void main()
   {
       Love   love =new Love("girl's name","yourname","babyname");
       love.do();
   }
}
*******************************************
if 相貌姣好 and 身材惹火 and 脉脉含情 then
  ShowMessage('I love you forever, 你是我的梦中情人!')
*******************************************
if (街上每个男人都忍不住回头看她的次数 > 5)
结论 = 这个MM肯定是个美女!
*********************************************
if (Beauty)
(
    AllProcessWait()
    lock()
}
if ( very very Beauty)
{
    shutdownsystem()
}
**********************************************
#include
#include
class CSayBeauty
{
private:
    int size;
    char *ptr;
public:
    CSayBeauty() : size(0), ptr(new char('/0')) {}
    CSayBeauty(const CSayBeauty &s) : size(s.size)
    {
        ptr = new char[size + 1];
        strcpy(ptr, s.ptr);
    }
    ~CSayBeauty()
    {
        delete [] ptr;
    }
friend ostream &operator <<(ostream &, const CSayBeauty &);
    CSayBeauty &operator=(const char *);};
    ostream &operator<<(ostream &stream, const CSayBeauty &s)
    {
        return(stream << s.ptr);
    }
    CSayBeauty &CSayBeauty::operator=(const char *chrs)
    {
        if (ptr != chrs)
        {
            delete [] ptr;
            size = strlen(chrs);
            ptr = new char[size + 1];
            strcpy(ptr, chrs);
        }
        return(*this);
    }
int main()
{
    int i = 0;
    while(1)
    {
        CSayBeauty SayBeauty;
        SayBeauty = "You are so Beautiful...";        
        cout << SayBeauty << endl;
        i++;
        if(i > 100)
            break;
   }
}
*******************************************
class Girl
{
public:
    Girl();
    ~Girl();
    void setName(const char* name);
    char* getName();
    bool isBeauty();
private:
    ...
};

void test(Girl girl)
{
    if ((girl.getName() == "Butterfly") && (!girl.isBeauty()))
*************************************************
for (int i = 1 ;i<1000000000000000000000000000000000 ;i++)
  say("u'r beautiful") ;
****************************************************
void YouAreBeautiful( Person I )
{
  if (I.SeeYou())
  {
     I.FaceColor=0xFF0000;
     I.CanBreathe=false;
     I.Die();
  }
}
void Prove()
{
  Person Me,Frog,Dinosaur;
  YouAreBeautiful(Me);
  YouAreBeautiful(Frog);
  YouAreBeautiful(Dinosaur);
}
******************************************
楼上的哥们,不知道你那个程序,MM懂不懂。
简单些最好了。
#include
#include
int beauty(int);
void main()
{
    int n;
    cout<<"欢迎您,这个程序可以根据您自己认为的美丽指数,测试出您的真实美丽程   度!!"<    cout<<"请输入自己的美丽指数(1-10):"<    cin>>n;
    int k=beauty(n);
    if(k)
    {
       cout<<"完成测试!!"<    }
}
int beauty(int i)
{
    if(i<=10)
    {
 int m;
 cout<<"您的输入有误,不符合事实,请重新输入(您完全可以输入更高的     值):"< cin>>m;
 beauty(m);
     }
     else
     {
 cout<<"您的输入符合要求,处理完毕."< cout<<"恭喜您!!经过计算,您的美貌足以让世人趴在地上,令宇宙向前倒下!"<      }
     return 1;
}
******************************************
for (;;) {
    try {
        be a angel in the sky;
    } catch (Exception 掉下来) {
       become butterfly;
    } finally {
       become an angel;
    }
}
**********************************
void check(char *MM)
{
int i;
char *p;
p=MM;
  for(i=1;i<10;i++)
     if (strcmp(p,"美女")=0)
          for(;;)
               printf("I love you !");
}
*******************************************
我来个vb版的
Private Sub LoveYou(ByVal BoyName As String, ByVal GirlName As String)
  On Error Goto StillLoveYou
  Dim lCounter As Long
  lCounter=1
  Do
    MsgBox BoyName & "爱" & GirlName & CStr(lCounter) & "年", vbOKOnly
    lCounter=lCounter+1
  Loop
StillLoveYou:
  MsgBox BoyName & "永远爱" & GirlName, vbOKOnly
End Sub
BoyName为GG的名字,GirlName为MM的名字。
*******************************************
begin
鱼<=沉;
雁<=落;
你<=迷;
end
*******************************************
怎么漂亮不知道
但用Transact-SQL写了一个记叙文
create table ##come_on (step bigint identity(1,1),result varchar(10),opr_date datetime,content nvarchar(4000))
kill (all otehr spid)
while 1>0    --好的开头是成功的一半,所以一定要有耐心有脸皮
begin
 raiserror ('虽然我很温柔,但我很孤独',15,1)
 select 反应  from mm
 if rowcount<>0 AND error=0
 begin
      print('你这么漂亮,生活一定很丰富吧')
      insert into ##come_on(result,opr_date,content) values ('成功',getdate(),'试探')
      break
     end
     ELSE
      continue
end  
while not exists (select 1 from ##come_on where rlt='成功' and content ='我们结婚吧')
begin
 print '一起去玩吧'
 update 我 set money=money-money*rand()
 if rowcount<>0 AND error=0
 insert into ##come_on(result,opr_date,content) values ('成功',getdate(),'玩')
 print '我给你买个*'
 update 我 set money=money-money*rand()
 if rowcount<>0 AND error=0
 insert into ##come_on(result,opr_date,content) values ('成功',getdate(),'高兴') 
 print '今天是xx的日子,送你xx'
 update 我 set money=money-money*rand()
 if rowcount<>0 AND error=0
 insert into ##come_on(result,opr_date,content) values ('成功',getdate(),'拍马屁')
 ……
end
select * into 老婆 from mm
drop table mm
 
select '甜蜜'

waitfor @few_days   
while 1>0 and 不满<=忍耐
  begin
 raiserror ('地板脏了,快洗一下',16,1)
 raiserror ('你最近跟那男的怎么回事',18,1)
 raiserror ('少磨磨蹭蹭的,你老公很多人喜欢的',14,1)
 ……
 if exists (select 1 from 老婆 where 反应='我受不了了')
 begin
  insert into  生活 values ('第n次战争')
 end
   
end
***************************************
StringBuilder sb = new StringBuilder;
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("啊!");
sb.append("beatiful!");
while(true){
System.println(sb.toString());
}
*******************************************
If ( 嫦娥.Look( you ) ) Then
   嫦娥.FallDown( );
If ( 本程序.能形容( you.Beauty * 0.0000000000000001 ) ) Then
   Sun.RaiseFrom( West );
*******************************************
timer.timer()
interval:=1;
---------------
if microsoft.exists then
showmessage('老爷对美女说:'you are beautiful'')
else
showmessage('美女对我说:'you are so goodlooking'');
end;
*****************************************
来个俗的,各位莫见怪。
if (让我上)<>true then
  痛哭流涕,自杀。
else
  精尽人亡!
end if
****************************************
#include
void main(void)
{
cout<<"你真漂亮!:)";
}
***************************************
main()
{
    for(;;)
    {
        say("you are beautiful!/r/n");
    }
}
******************************************
下面代码在CSDN出现过,打印出一首十分奇怪的诗,楼主试试~~
用VC就可以~
--------------------------------
#include
main(t,_,a)char *a;{return!0main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?
main(2,_+1,"%s %d %d/n"):9:16:t<0?t<-72?main(_,t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#/
;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l /
q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# /
){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' /
iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c /
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# /
}'+}##(!!/")
:t<-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1)
:0