Lets write a C program!
1
Name:
!3LrT5NRVks
2009-08-14 19:31
Each post should only add one line(80 chars) of code, lines with syntax errors should be skipped or corrected. Re-post the program in your post. I'll start:
#include <stdio.h>
41
Name:
Anonymous
2009-08-15 9:17
#include <stdio.h>
#include <curses.h>
typedef struct {
/* ( ´∀`) < COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
} Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) { /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
Cat c;
while(1) {
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int
*
GRUNNUR
;
*GRUNNER = 137;
42
Name:
Anonymous
2009-08-15 9:19
I don't think you can declare a variable inside a loop.
43
Name:
Anonymous
2009-08-15 9:27
>>41
Sorry, should be
#include <stdio.h>
#include <curses.h>
typedef struct {
/* ( ´∀`) < COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
} Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) { /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
Cat c;
while(1) {
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int
*
GRUNNUR
;
*GRUNNER = 137;
44
Name:
Anonymous
2009-08-15 9:39
>>40
I'm sorry, dear. Try line 24
45
Name:
Anonymous
2009-08-15 9:43
>>43
Jesus. No.
It
should be
#include <stdio.h>
#include <curses.h>
typedef struct {
/* ( ´∀`) < COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
} Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) { /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
Cat c;
while(1) {
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int *GRUNNUR;
*GRUNNER = 137;
}}
46
Name:
Anonymous
2009-08-15 9:46
>>45
[a]whooops[/a]
#include <stdio.h>
#include <curses.h>
typedef struct {
/* ( ´∀`) < COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
} Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) { /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
Cat c;
while(1) {
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int *GRUNNUR;
*GRUNNUR = 137;
}}
47
Name:
Anonymous
2009-08-15 10:10
>>46
Anuses is my dick, bullshit!! Go play with your own toys!
48
Name:
Anonymous
2009-11-21 3:43
#include <stdio.h>
#include <curses.h>
typedef struct {
/* ( ´∀`) < COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
} Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) { /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
Cat c;
while(1) {
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int *GRUNNUR;
*GRUNNUR = 137;
}
bampu();
}
49
Name:
Anonymous
2009-11-21 3:55
fist off you guys need to be posting diffs, second
>>21
you don't have curses installed. you are a drain on society.
50
Name:
Anonymous
2009-11-21 4:09
51
Name:
Anonymous
2009-11-21 4:20
>>50
ubanto is a drain on loonix
52
Name:
Anonymous
2009-11-21 4:53
53
Name:
Anonymous
2009-11-21 4:55
#include <stdio.h>
#include <curses.h>
typedef struct {
/* ( ´∀`) < COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
} Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) { /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
char niggers = "jews";
Cat c;
while(1) {
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int *GRUNNUR;
*GRUNNUR = 137;
}
}
54
Name:
Anonymous
2009-11-21 6:13
>>52
mac is a drain on bsd
55
Name:
Anonymous
2009-11-21 7:34
>>54
hax is a drain on
MY ANUS
56
Name:
Anonymous
2009-11-21 9:08
#define { BEGIN
#include <stdio.h>
#include <curses.h>
typedef struct BEGIN
/* (???`)?<?COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
} Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) BEGIN /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
char niggers = "jews";
Cat c;
while(1) BEGIN
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int *GRUNNUR;
*GRUNNUR = 137;
}
}
SO I HEARD YOU LIKE ALGOL
57
Name:
Anonymous
2009-11-21 9:11
#define { BEGIN
#define } END
#include <stdio.h>
#include <curses.h>
typedef struct BEGIN
/* (???`)?<?COOL FREE RINGTONES */
FILE *input;
void *nextCat;
void *tableCat;
enum { no, yes } isthiscatfine;
END Cat;
/* I wonder how long until this code is
too long to fit on the front page? */
int main(int argc, char **argv) BEGIN /* seriously, it starts now. */
printf("Welcome to Cat v0.01\n");
char niggers = "jews";
Cat c;
while(1) BEGIN
c.input = fopen("OP_is_gay", "wt");
if(!c.input) break;
int *GRUNNUR;
*GRUNNUR = 137;
END
END
58
Name:
Anonymous
2009-11-21 9:14
Now listen here, jerkfaces. curses automatically links stdio , so you have unoptimised code.
59
Name:
Anonymous
2009-11-21 9:17
s/links/includes/
60
Name:
Anonymous
2009-11-21 9:29
61
Name:
Anonymous
2010-12-17 1:39
FOLLOW THE
NEW GNAA TWITTER AT
http://twitter.com/Gary_Niger
62
Name:
Anonymous
2010-12-20 18:41