
江湖上有種謠言說:程式員不解風情,一天到晚只知道打代碼......
但是程式員也是人,面對心愛之人,也會有浪漫主義的一面,在情人節送給自己的女朋友玫瑰花,對于程式員來說是不是太普通了呢?作為一名程式員,為什么不試試讓情人節變得更特別一些呢?面對物件,該如何把ta變成你的私有變數?
如果愛ta在心口難開,程式員也會用自己的"方式"創造出不一樣的浪漫,讓他的女朋友眼前一亮,印象深刻!這些浪漫的技術表白,你值得擁有,下面來看看我們程式員是如何用自己的語言表達愛意的~~~
程式員的情書
Void missing_you()
For(time=meet_you;time++)
Missing_you()
“自從遇見你,就沒有一刻不想你”
<?php
while(me->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

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.
用動漫示愛
除了上面這些情話,更有程式員大佬用影片來秀恩愛,真的是炫瞎眼睛,
?I Love You Batch le
情人節向她示愛,讓她的電腦自動關機,
然后顯示你的表白留言,

具體操作如下:
1.創建一個新的文本檔案,
2.將以下代碼復制到新創建的檔案中
@echo off
msg * I LOVE YOU
shutdown -c "Error! You are too CUTE!" -s
3.將檔案的擴展名從“.txt”更改為“.bat”
4.最后一步想辦法讓你的女朋友打開檔案
C++ 我愛你的程式 ?
#include<iostream>
#include<cmath>
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<4*size + 1 - 2*x; y++)
{if (x>= print_line - 1 && x <= print_line + 1)
int idx = y - (4*size - 2*x - 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;
點擊了解更多資料,更有免費開源專案和課程等你觀看哦!
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/187970.html
標籤:其他
下一篇:撲克牌順子
