Empty program

Revision as of 15:11, 18 January 2007 by MikeMol (talk | contribs) (Created page, added C, C++, Perl, UNIX Shell)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In this task, the goal is to create the simplest possible program that is still considered "correct."

Task
Empty program
You are encouraged to solve this task according to the task description, using any language you may know.

C

Compiler: GCC 4.0.3

int main ( void ) {
  return 0;
}

C++

Compiler: GCC 4.0.3

int main ( void ) {
  return 0;
}

Perl

Interpreter: Perl 5.8.8
#!/usr/bin/perl

UNIX Shell

Interpreter: Debian Almquist SHell

#!/bin/sh

Interpreter: Bourne Again SHell

#!/bin/bash