mirror of
https://github.com/PDP-10/its.git
synced 2026-02-27 01:09:49 +00:00
Hello world for C.
This commit is contained in:
12
src/hello/hello.c
Normal file
12
src/hello/hello.c
Normal file
@@ -0,0 +1,12 @@
|
||||
/* Hello world for the C programming language. */
|
||||
|
||||
/* To compile and link, type:
|
||||
:cwd hello
|
||||
:cc hello.c
|
||||
:stinkr hello */
|
||||
|
||||
int main()
|
||||
{
|
||||
cprint("Hello world\n");
|
||||
return 0;
|
||||
}
|
||||
3
src/hello/hello.stinkr
Normal file
3
src/hello/hello.stinkr
Normal file
@@ -0,0 +1,3 @@
|
||||
x c/clib
|
||||
l hello.stk
|
||||
o ts.hello
|
||||
Reference in New Issue
Block a user