代码语言:javascript复制
1、语言:Java
代码翻译:直到死之前,每天爱你多一点!
代码:
while (life < end) {
love ;
}
2、语言:Java语言
代码翻译:爱你到天荒地老
代码:
while(!world.destroy){
System.out.println("i love you");
}
3、语言:C语言
代码翻译:I can not say Hello to the World without u.
没有你,我无法向世界问好。
代码:
#inclde <stdio.h>
int main() {
printf("Hello Worldn");
retrn 0;
}
4、语言:C语言
代码翻译:两隔的世界;无名的信件;短暂的停留;长久的记忆;
说这么多,只是想说:我想你了。
代码:
#include <stdio.h>
int main()
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.n");
return 0;
}
5、语言: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
6、语言:C
代码翻译:
我生为卿生,卿生赴我媒,同心两相知,长命无绝衰
代码:
//人
class Person{
//...
private:
void* id; //本我
void* ego; //自我
void* superego; //超我
};
//伴侣——不分你我地联合
union Couple{
void* you;
void* me;
};
//生生世世的伴侣们
vector<Couple*>* timelessCouples = new vector<Couple*>();
//有你、有我的世界
int main(int argc, char** argv){
//亘古...
timeFlies();//...岁月...
Person* me = new Person();//我
timeFlies();//...岁月...
Person* you = new Person();//你
timeFlies();//...岁月...
if(check(time, place, you, me) == true){
//如果时间、地点,还有你,都没有异见,我愿陪你,从亘古到永远
Couple * newCouple = new Couple();
newCouple->me = you;
timelessCouples->push_back(newCouple);
}
timeFlies();//...岁月...
//永远...
return 0;
}
7、语言:JavaScript
代码翻译:春风十里不如你
代码:
var you = function from_future_import(){};
var spring = {
'breezing':true,
'length':10
};
var i = [];
i.sort([spring,you]);
result:[you,spring]
8、语言:Erlang代码
代码翻译:深圳相遇,至死不渝
代码:
-module(you_and_me).
-export([start/1]).
-record(person,{name,address,status}).
start(Name) ->
one_world(Name).
one_world(Name) ->
Me=#person{name=Name, address=sz, status=alive},
when_meet_you(Me).
when_meet_you(Person = #person{name=me}) ->
start_to_love_you(Person);
when_meet_you(_) ->
ignore.
start_to_love_you(Person) ->
io:format("~p: I Love You!~n", [Person#person.name]),
keep_to_love_you(Person).
keep_to_love_you(Person=#person{name=me, status=die}) ->
say_goodbye(Person),
see_you_next_world(Person#person.name);
keep_to_love_you(Person = #person{name=me}) ->
io:format("~p: I Love You Forever!~n", [Person#person.name]),
keep_to_love_you(Person).
say_goodbye(Person) ->
io:format("~p: see you next world!~n", [Person#person.name]).
see_you_next_world(Name) ->
one_world(Name).