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

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