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

Build a better /prog/ (C Edition)

Name: Anonymous 2011-12-30 21:51

Add or modify previous entries.


#include <stdlib.h>
#include <stdio.h>

void spoiler(char*);

int main(void) {
  char *header = "/prog/ 2.0";

  printf("<html><head><title>/polecat kebabs/</title></head><body>");

  printf("<span style='font-size: 32;'>");spoiler(header);puts("</span>");

  printf("<br />Together, we can build a better "); spoiler("/prog/");

  printf("</body></html>");
  exit(EXIT_SUCCESS);
}

void spoiler(char *text) {
    printf("<span onmouseover=\"this.style.color='#FFFFFF';\" onmouseout=\"this.style.color=this.style.backgroundColor='#000000'\" style='background-color: #000000; color: #000000;'>%s</span>", text);
}

Name: Anonymous 2011-12-31 14:26

I'm writing a program to view 4chan text-boards in the tty.

It's called disViewer. I thought about making it only for /prog/ since /prog/ is the only text board I like but I decided to make it work for all text boards.

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