Name: Anonymous 2006-06-20 20:56
c:
#include <stdio.h>
main() { printf("hey worldz\n"); }
#include <stdio.h>
main() { printf("hey worldz\n"); }
d=b.createElement('head'));
e=b.createElement('meta'));
e.setAttribute('http-equiv','Content-type');
e.setAttribute('content','application/xhtml+xml; charset=utf-8');
d.appendChild(e);main(){write(1,"Hello, World!\n",14);}
section .data
msg db 'You are a sand nigger !',0xa
len equ $ - msg
global _start
_start:
mov dl, len
mov ecx, msg
mov bl, 1
mov al, 4
int 0x80
mov al, 1
int 0x80
(defun main(x)
(format t x))
(main "hello, world!")
module Main where
import Control.Concurrent
import Control.Concurrent.STM
import Control.Monad
--
-- | Hello world with STM.
main :: IO ()
main = do
tc <- atomically newTChan
forkIO $ forM_ [1..] $
\n -> do atomically $ writeTChan tc
(cycle "Bonjour la monde!!\n" !! n)
threadDelay (10^5)
forkIO $ forM_ [1..] $
\_ -> do c <- atomically $ readTChan tc
putChar c
return ()