From Rosetta Code
Revision as of 09:09, 7 December 2011 by rosettacode>André van Delft
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This programming language may be used to instruct a computer to perform a task.
Execution method: Compiled (machine code)
Garbage collected: No
Parameter passing methods: By value
Type safety: Unsafe
Type strength: Weak
Type compatibility: Nominative
Type expression: Explicit
Type checking: Static

Listed below are all of the tasks on Rosetta Code which have been solved using C0H.

C0H is a general-purpose, procedural, imperative computer programming language, partially developed by André van Delft in 2011. It is a small extension to the well known compatible with::C programming language, allowing for the smallest "Hello World" program that one can think of.

The development of C0H has been inspired on the HQ9+ programming language, which accepts "H" in its source to print "Hello World!". However, HQ9+ is not a general purpose programming language; in fact it has very limited capabilities. C0H improves over HQ9+ by offering the full power of the C language; moreover, C0H offers a shorter path to writing a Hello World program: just create an empty file!

C0H has been followed up by C1R, a C extension aimed at short solutions for tasks that are implemented by C programs at


  • version 0.99 existed for about 35 minutes. An empty input source file would result in a program printing "Hello World!".
  • version 1.00 quickly followed up version 0.99, after the creator of the language found out to his great surprise that the web site Rosetta Code required a "Hello World" program to print "Goodbye, World!"


See C0H Implementation


To get a reference document on C0H, it is advised to upgrade a reference document on the "C" programming language, and attach a Post-it note stating C0H is like C, except that an empty input file yields "Goodbye, World".


This category has the following 3 subcategories, out of 3 total.