From: Aaron Taylor Date: Mon, 11 Jan 2021 06:25:33 +0000 (-0800) Subject: Updated hello.c from putch() to printf(). X-Git-Url: http://git.subgeniuskitty.com/pdp11-modern-c/.git/commitdiff_plain/HEAD Updated hello.c from putch() to printf(). --- diff --git a/hello.c b/hello.c index 8c52dc9..9309eb6 100644 --- a/hello.c +++ b/hello.c @@ -7,18 +7,5 @@ void hello(void) { wait(01000); - putch('H'); - putch('e'); - putch('l'); - putch('l'); - putch('o'); - putch(','); - putch(' '); - putch('W'); - putch('o'); - putch('r'); - putch('l'); - putch('d'); - putch('!'); - putch('\n'); + printf("Hello, World!\n"); }