[過去ログ]
OSを1行で作るスレ (982レス)
上
下
前
次
1-
新
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
964
(1)
:
2011/09/25(日)00:00
AA×
[240|
320
|
480
|
600
|
100%
|
JPG
|
べ
|
レス栞
|
レス消
]
964: [sage] 2011/09/25(日) 00:00:35.34 int main(void) { while(1){ int loop_shell,count_command; char command[100]; char command_tmp; printf("こまんどー > ");for(count_command=0;count_command<100;count_command++) {scanf("%c",&command_tmp); if(command_tmp=='\n') { command[count_command]='\0'; break;} else {command[count_command]=command_tmp;} } if(strcmp(command,"test") == 0) {printf("テスト\n");} else if(strcmp(command,"exit")==0) {exit(0);} else if(strcmp(command,"ver")==0) {printf("version 0.00000001\n");} else if(strcmp(command,"\0")==0) { printf("");} else if(strcmp(command,"help")==0) {printf("test\nver\nexit\nhelp\n");} else{printf("%s :command not found.\n",command); }} printf("Kernel Panic!!"); } http://tamae.5ch.net/test/read.cgi/os/1228318077/964
こまんどー テスト
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 18 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
ぬこの手
ぬこTOP
0.021s