简单啊~
打开VB新建一个exe工程;
按下F7打开代码窗体;
写入以下代码并生成exe发送给对方即可。
Private Sub Form_Load()MsgBox "I love you~"
MsgBox "真的!"
MsgBox "..."
End Sub
MsgBox请自由更改以及添加,想说多少加多少。
JAVA传说中规范的爱情代码(2010-11-10 21:37:36)
转载
标签:it
private final static DEPOSIT = 100000
private final static FELLING = 8
public void love(boy, girl) {
Boolean isMarried = false
if(boy.有房() &&boy.有车()) {
doMarry(boy, girl)
isMarried = true
} else if(girl.愿意等()) {
while(!(boy.赚钱 >DEPOSIT &&girl.感情 >FELLING)) {
for(int day=1day <=365day++) {
if( day == 情人节 ) {
if(boy.givegirl(玫瑰)) {
girl.感情++
} else {
girl.感情--
}
}
if(day == girl.生日) {
if( boy.givegirl(玫瑰) )
{
girl.感情++
}
else {
girl.感情--
boy.拼命赚钱()
}
}
}
if(boy.有房() &&boy.有车()) {
doMarry(boy, girl)
isMarried = true
break
}
年龄++
girl.感情--
}
}
if(!IsMarried) {
girl.goto(another_boy)
}
private void doMarry(boy, girl) {
boy.set(nothing)
girl.嫁给(boy)
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)