Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Lets write a C program!

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>

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;

Name: Anonymous 2009-08-15 9:19

I don't think you can declare a variable inside a loop.

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;

Name: Anonymous 2009-08-15 9:39

>>40


I'm sorry, dear. Try line 24

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;
}}

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;
}}

Name: Anonymous 2009-08-15 10:10

>>46
Anuses is my dick, bullshit!! Go play with your own toys!

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();
}

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.

Name: Anonymous 2009-11-21 4:09

>>49
Or on Ubanto.

Name: Anonymous 2009-11-21 4:20

>>50
ubanto is a drain on loonix

Name: Anonymous 2009-11-21 4:53

>>51
Or on Mac.

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;
      }
    }

Name: Anonymous 2009-11-21 6:13

>>52
mac is a drain on bsd

Name: Anonymous 2009-11-21 7:34

>>54
hax is a drain on MY ANUS

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

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

Name: Anonymous 2009-11-21 9:14

Now listen here, jerkfaces. curses automatically links stdio, so you have unoptimised code.

Name: Anonymous 2009-11-21 9:17

s/links/includes/

Name: Anonymous 2009-11-21 9:29

>>58
expert c trolling

Name: Anonymous 2010-12-17 1:39

FOLLOW THE NEW GNAA TWITTER AT http://twitter.com/Gary_Niger

Name: Anonymous 2010-12-20 18:41

Name: Anonymous 2011-02-03 0:36


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List