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 0:18

>>5

/* Use C style comments, please! */

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