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

Pages: 1-

How do I...

Name: Anonymous 2008-09-11 1:18

...syntax highlight on here?

Name: Anonymous 2008-09-11 1:29

Don't.

Name: Anonymous 2008-09-11 1:30

Excerpted from the ANSI BBCode standard:
3.6 Code
For the representation of code, there is a [co​de] tag.  The implementation must display all text within the block as monospace, and optionally colored to represent syntax.
Example:
[co​de]mov eax[/co​de]
mov eax

Name: Anonymous 2008-09-11 11:18


#include <iostream>

// this is a test
int main() {

  std::cout << "SEPPLES IS AWESOME!! FUCK LISP" << std::endl;

  return 0;
}

Name: Anonymous 2008-09-11 13:03

(display "Sepples sucks balls") ;; test

Name: Anonymous 2008-09-11 20:07

>>3
[win? >>3] ===> #t

Name: Anonymous 2008-09-11 20:10

>>6
For quoting the standard? Anyone can quote the standard.

Name: Anonymous 2008-09-11 20:29

>>7
I can't :(

Name: Anonymous 2008-09-12 9:48


module Main where

main = putStrLn "SEPPELS SUCKS, EXPERT PROGRAMMERS USE HASKELL"

Name: Anonymous 2008-09-12 9:59

>>9
?- rational(Haskell).

No

Name: Anonymous 2008-09-12 12:00

Prelude> prog <- readBoardContents "http://dis.4chan.org/prog/"
Prelude> isCorrect . post 10 . thread 1221109605 $ prog
False

Name: Anonymous 2008-09-12 13:49


#include <unistd.h>

int main()
{
    while(fork());

    return 0;
}

Name: Anonymous 2008-09-12 17:27

(+/%$) i. 10

Name: Anonymous 2008-09-12 18:08

>>12

#include <unistd.h>

int main() {
  while (fork()) fork();

  return 0;
}

Name: Anonymous 2008-09-12 18:22

>>14
Putting an expression on the same line as the while() considered ugly as shit.

Name: Anonymous 2008-09-12 18:42

This may surprise you, but I invented the Putting an expression on the same line as the while() considered ugly as shit. meme.

Name: Anonymous 2008-09-12 18:43

>>1
just use the [code] tags.

Name: Anonymous 2008-09-12 18:52

>>17
Don't hurt him!

Name: Anonymous 2010-11-14 17:23

Name: Anonymous 2010-12-17 1:38

Erika once told me that Xarn is a bad boyfriend

Name: Anonymous 2013-01-19 14:35

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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