C言語で1000行くまでにプログラムを完成させるスレ [sc](★0)
-
- 70
- 2012/02/06(月) 17:39:19.02
-
/* >>65, it's C++ */
#include <stdio.h>
#include <string.h>
int tired( wchar_t status[] );
int gohome( wchar_t status[] );
-
- 71
- 2012/02/10(金) 02:33:19.21
-
int explotion( wchar_t status[] ); //この関数は非常時にしか使用しないこと
-
- 72
- 2012/02/17(金) 21:09:01.68
-
return -1;
-
- 73
- 2012/02/18(土) 00:56:33.31
-
/*
-
- 74
- 2012/02/18(土) 03:00:11.31
-
* Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
* The Regents of the University of California. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE
* @(#)init_main.c 8.1 (Berkeley) 6/10/93
*/
-
- 75
- 2012/02/20(月) 21:27:09.48
-
#pragma pack(1)
-
- 76
- 2012/02/21(火) 00:13:06.45
-
#pragma unpack
-
- 77
- 2012/03/06(火) 22:27:16.50
-
for (int i = 0; i < 10 ; i++) {
printf("%d\n", i);
if (i = 0) continue;
}
-
- 78
- 2012/03/24(土) 16:09:42.80
-
while(1){
printf("Fuck You\n");
}
-
- 79
- 2012/03/24(土) 18:47:54.58
-
#define DEBUG
-
- 80
- 2012/03/27(火) 23:48:59.78
-
int sage() {
return fushianasan();
}
-
- 81
- 2012/04/02(月) 17:51:34.34
-
int bootstrap(void);
int r = bootstrap();
-
- 82
- 2012/04/05(木) 02:27:46.42
-
!URRRRYYYYYYYYYYYY();
-
- 83
- 2012/04/23(月) 21:55:38.06
-
//今日で15連勤
-
- 84
- 2012/04/29(日) 11:58:00.86
-
//どっかに全角スペース入れちったよ
-
- 85
- 2012/04/29(日) 15:50:13.06
-
//C#しか使ったことないんだが気をつけることはあるか?
-
- 86
- 2012/04/29(日) 22:46:13.38
-
int i, a = 1;
for(i = 0; i < 100; i++){
a = 1 - a;
printf("%d\n",a);
}
-
- 87
- 2012/05/13(日) 22:22:56.65
-
// main関数何個あるんだよw
-
- 88
- 2012/05/17(木) 14:34:12.51
-
#
#
#include<windows.h>
-
- 89
- 2012/05/17(木) 22:21:36.83
-
//ここからこのスレをコンパイル通るようにしたやつは天才
-
- 90
- 2012/06/03(日) 11:11:22.06
-
/* なぜかコメントアウトすると動く */
-
- 91
- 2012/06/04(月) 14:32:56.19
-
abort();
-
- 92
- 2012/06/04(月) 19:04:49.43
-
_asm {jmp _main}
-
- 93
- 2012/06/09(土) 15:44:02.80
-
__asm halt
-
- 94
- 2012/06/27(水) 00:40:27.46
-
:q!
-
- 95
- 2012/06/27(水) 00:42:09.98
-
vi
-
- 96
- 2012/07/08(日) 23:36:31.98
-
int my_money = 10000000000;
-
- 97
- 2012/07/12(木) 00:11:08.82
-
my_money - TAX == 0
-
- 98
- 2012/07/12(木) 01:02:48.15
-
;
-
- 99
- 2012/07/12(木) 18:52:48.47
-
goto HELL
-
- 100
- 2012/10/24(水) 00:32:32.96
-
return wife;
-
- 101
- 2012/11/03(土) 00:43:59.94
-
int a=0;
int b=10/a;
-
- 102
- 2012/11/06(火) 22:37:08.65
-
printf("このスレ伸びないなー");
-
- 103
- 2012/11/06(火) 23:05:58.15
-
assert(0);
-
- 104
- 2012/11/07(水) 01:34:05.04
-
for(i=0;i<100;i++) printf("\n工藤死ね");
-
- 105
- 2012/11/16(金) 01:16:36.10
-
/* 実は>>1->>3で終わってるという */
-
- 106
- 2012/12/01(土) 12:20:35.95
-
do {
int i=0;
if (i)
printk("dec\n");
} while (0);
-
- 107
- 2012/12/01(土) 13:05:02.20
-
untitled.c(4) : error C3861: 'printk': なんかぁ〜この識別子ぃ〜見つからないし〜ちょーキモイんですけどぉ〜。ちょっとヤバくない〜?
-
- 108
- makoto
- 2012/12/01(土) 21:46:44.67
-
/*なんかJAVAあったぞww*/
private void button_Click(object Sender EventArgs e)
{
int point;
int reru;
int hage;
label1.Text="お前の禿げレベル入力しろ 1~10";
point=Convert.ToInt32(textBox1.Text);
reru=Convert.ToInt32(textBox2.Text);
hage=point*reru;
hage=Convert.ToString(hage);
if(hage<10)
{
MessageBox.Text=("かなり禿げてます");
}else if(hage<7)
{
MessageBox.Text("まあまあのはげです");
}else if(hage<3)
{
MessageBox("まだ手遅れじゃありません");
}
}
-
- 109
- 2012/12/05(水) 21:52:30.16
-
//----- ダブルスラッシュなコメント禁止 -----
-
- 110
- 2012/12/11(火) 03:46:22.07
-
/*>>1〜3で終わってるよな⁉*/
-
- 111
- 2013/05/01(水) 22:54:23.20
-
#if 0
main何回出てきたよ
#endif
-
- 112
- 2013/06/19(水) 17:15:49.48
-
printf("もうやめたい");
-
- 113
-
printf(\b\b\b\b\b\b);
-
- 114
-
Mylife.cpp(45):Syntax error; 'girlfriend' does not exist.
Mylife.cpp(48): Warning; This compiler does not guarantee implicit cast from 'boyfriend' to 'spouse<female>' in this version.
-
- 115
- 2013/09/09(月) 22:29:36.32
-
10 'ここはコメント
20 CLS
30 IF >>21="KUMA" THEN GOTO 40 ELSE BEEP:END
40 PRINT "KUMA-"
50 GOTO 40
-
- 116
- 2013/11/01(金) 00:05:15.91
-
exit(-1);
-
- 117
- 2014/01/23(木) 15:11:36.30
-
while(1){
printf("えええうぇうぇう");
}
-
- 118
- 2015/10/15(木) 22:38:57.54
-
int i = 1 / 0 ;
このページを共有する
おすすめワード