1
0
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:
Lars Brinkhoff
2023-09-04 09:31:44 +02:00
parent 4715324ee9
commit 5204a53d16
2 changed files with 15 additions and 0 deletions

12
src/hello/hello.c Normal file
View 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
View File

@@ -0,0 +1,3 @@
x c/clib
l hello.stk
o ts.hello