🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2017

Re: Canocical hello world

#2017
From: Steven Huang
Date: Fri, 16 Feb 1996 06:13
29 lines
1480 bytes
In article <4fvi34$ear@solutions.solon.com> mambuhl@ripco.com (Martin Ambuhl) writes:
>schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt)
>in <4fu7sn$991@solutions.solon.com> asks:

>>ObC: What is the canonical first program to write in C?  Is it

>>        "Hello World\n" or
>>        "Hello, world\n" or
>>        "hello world\n" or what?

>>Please cite authoritative sources or use statistics.

>I don't know if there is a more hoary and authoritative source than
>K&R1.  It is certainly part of the canon, even though it is the "Old
>Testament."
[snip]

I'm nitpicking, but I find it unlikely that the first C program that
ran uses a beast like 'printf()'.  It probably did say something to
the world, but I am guessing it is either a severely watered down
version of 'printf()', or something much simpler like 'puts()' and
'putchar()'.  The compiler writer has to test it with something
simple first, right?

(Lighten up ;) )

-- 
Steven Huang (sthuang@hns.com)  Hughes Network Systems
Opinions stated herein are my own.
Technical Details
Message-ID: <4g17a8$mvd@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4fvi34$ear@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: sthuang@hns.com (Steven Huang)
Newsgroups: comp.lang.c.moderated
Subject: Re: Canocical hello world
Date: 16 Feb 1996 00:13:28 -0600
Organization: Hughes Network Systems Inc.
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4g17a8$mvd@solutions.solon.com>
References: <4fvi34$ear@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com