天天new对象的程序员,居然能找到女朋友?还能教你追女生?

191 阅读2分钟
![](https://upload-images.jianshu.io/upload_images/24762785-02a5deb359aa7a68.gif?imageMogr2/auto-orient/strip)

江湖上有种谣言说:程序员不解风情,一天到晚只知道打代码......

![](https://upload-images.jianshu.io/upload_images/24762785-d15e897afef48a12?imageMogr2/auto-orient/strip)

但是程序员也是人,面对心爱之人,也会有浪漫主义的一面。在情人节送给自己的女朋友玫瑰花,对于程序员来说是不是太普通了呢?作为一名程序员,为什么不试试让情人节变得更特别一些呢?面对对象,该如何把ta变成你的私有变量?

![](https://upload-images.jianshu.io/upload_images/24762785-7fd4b9bb324ccdde?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

如果爱ta在心口难开,程序员也会用自己的"方式"创造出不一样的浪漫,让他的女朋友眼前一亮,印象深刻!这些浪漫的技术表白,你值得拥有。下面来看看我们程序员是如何用自己的语言表达爱意的~~~

程序员的情书

Void missing_you()

For(time=meet_you;time++)

Missing_you()

“自从遇见你,就没有一刻不想你”

met()==your->self()) print("hello,world"); ?>

“我一直在寻找

找到了你

便找到了全世界"

everBoy = aFlyBird.wafting(far).alone;

nowBoy = eberBoy.flying(long);

honeyLife = nowBoy.meet;

“我曾是孤单的飞鸟

飘荡在远方的天空

如今我飞得太久

才知道你就是春天”

while(1)

NSString *myLife = @ "吃饭睡觉打代码";

if(myLife containsString:@"YOU")

NSLog(@"余生请多指教");

“我用一生在等待

直到你闯入我的世界

我只想对你说:余生请多指教”

Programmer Pickup Lines

如果你不会写代码,也不太喜欢编程。

这里有一些“Rotech”的句子给你参考。

语言:Java

while (life < end)

love++;

直到死之前,每天爱你多一点

while(!world.destroy)

System.out.println("i love you");

爱你到天荒地老

语言:python

![](https://upload-images.jianshu.io/upload_images/24762785-e6ec6fd64d2fbf34.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

if(mountain.arris==None):

if(river.water==None):

if(winter.thunder==True):

if(summer.snow==True):

if(sky.height==ground.height):

i.withyou=False

else

i.withyou=True

山无陵, 江水为竭,

冬雷震震, 夏雨雪,

天地合, 乃敢与君绝!

C语言

#inclde

int main()

printf("Hello World\n");

retrn 0;

I can not say Hello to the World without u.

用动漫示爱

除了上面这些情话,更有程序员大佬用动画来秀恩爱,真的是炫瞎眼睛。

![](https://upload-images.jianshu.io/upload_images/24762785-ae9be50fc892c73e?imageMogr2/auto-orient/strip)

⬇I Love You Batch le

![](https://upload-images.jianshu.io/upload_images/24762785-d859105b7425541f?imageMogr2/auto-orient/strip)

情人节向她示爱,让她的电脑自动关机,

然后显示你的表白留言。

![](https://upload-images.jianshu.io/upload_images/24762785-e59af8e6cc75886f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

具体操作如下:

1.创建一个新的文本文件。

2.将以下代码复制到新创建的文件中

@echo off

msg * I LOVE YOU

shutdown -c "Error! You are too CUTE!" -s

3.将文件的扩展名从“.txt”更改为“.bat”

4.最后一步想办法让你的女朋友打开文件

C++ 我爱你的程序 ⬇

#include

#include

using namespace std;

int main()

double x, y;

size=10;

char ch=3;

string message(" I Love You ");

int print_line = 4;

if(message.length() % 2 != 0)

message += " ";

for(x=0;x<size;x++)

{for(y=0;y<=4*size;y++)

{double dist1 = sqrt( pow(x-size,2) + pow(y-size,2)

double dist2 = sqrt( pow(x-size,2) + pow(y3*size,2)

if (dist1 < size + 5 || dist2 < size + 0.5 )

cout<< ch;

else

cout<< " ";

cout<<"\n";

for(x=1;x<2*size;x++)

{for(y=0;y<x;y++)

cout << " ";

for (y=0;y<4size + 1 - 2x; y++)

{if (x>= print_line - 1 && x <= print_line + 1)

int idx = y - (4size - 2x - message.length()) / 2;

if(idx < message.length() && idx >= 0)

if (x == print_line)

cout<<message[idx];

else cout << " ";

else

cout << ch;

else

cout<< ch;

cout<<endl;

return 0;

点击了解更多资料,更有免费开源项目和课程等你观看哦!