Mercurial > hello
changeset 0:0a04b987be5a
Create a standard "hello, world" program
author | mpm@selenic.com |
---|---|
date | Fri, 26 Aug 2005 01:20:50 -0700 |
parents | |
children | 82e55d328c8c |
files | hello.c |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hello.c Fri Aug 26 01:20:50 2005 -0700 @@ -0,0 +1,16 @@ +/* + * hello.c + * + * Placed in the public domain by Bryan O'Sullivan + * + * This program is not covered by patents in the United States or other + * countries. + */ + +#include <stdio.h> + +int main(int argc, char **argv) +{ + printf("hello, world!\n"); + return 0; +}