作者coldfly (// Forsaken)
看板TigerBlue
标题Re: [创作] 宅男v1.0
时间Sat Nov 24 02:39:51 2007
※ 引述《averywu (我是阿Q )》之铭言:
// port to C
#include <otaku.h>
#include <otaku/comic.h>
#include <otaku/game.h>
#include <otaku/computer.h>
#include <otaku/adultvideo.h>
using namespace otaku;
enum eSch {
study = 1, homework, sleep, YAYAYA
};
_DATE now_clock = getDate();
double sz_of_something = getSize();
int schedule = getSchedule();
int main(int argc, char * argv[]) {
if(now_clock.hours >= 23 && sz_of_something > 30.0) {
adultVideo.Init();
wowow = true;
};
switch(schedule) {
case study:
while(schedule) readComic();
break;
case homework:
while(schedule) playGame();
break;
case sleep:
while(schedule) useComputer();
break;
default:
while(schedule) runSomething("telnet ptt.cc");
break;
}
If(!schedule) schedule = sleep;
If(schedule == YAYAYA && wowow) {
msn.goOffline();
door.lockOn();
window.lockOn();
cellphone.powerOff();
earphone.connect(ON);
Tissues.init(_standby);
FILE * ohya = fopen("Hello World.avi");
if(!ohya) {
BBS ptt = runSomethingEx("telnet ptt.cc");
ptt.login(_username, _password);
ptt.goto("Hate");
ptt.post("[超干] 我的爱情动作片不给开!", _content);
ptt.logout();
}
while(protein && ohya) {
playVideoFile(ohya);
handAction(HAND_LEFT, SPEED_30, UP_TO_DOWN);
};
_global.unlock();
};
return 0;
};
--
Shattered Hand Assassin [
Aimed shot (1.09)]
(…)
○ゞ ○_▇▄▄▂
Black Rat
<│ /﹀
↓ …狩るか、狩られるか。
/\ />
@~ WOW::zhTW, 米奈希尔, Kal
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 163.23.231.89
1F:推 averywu:大师!!!!!!! 11/24 02:56
2F:推 gl4xup6z83g:看不懂程式 看的懂英文 也能懂意思 (烟) 11/24 15:36
3F:推 kezneuiqn:…(烟) 11/24 16:56
4F:推 jeff8611:{otaku}这个写的出来 你一定会轰动世界 11/24 18:36
5F:推 saram:这是C++版吗? sorry , 我闪........... 11/27 00:03
6F:推 ochi:看没有... 11/29 06:04
7F:推 stabber111:XDD 12/03 23:53