ftp.nice.ch/pub/next/unix/text/rtf.N.bsd.tar.gz#/rtf-utilities/samples/hello.c

This is hello.c in view mode; [Download] [Up]

{\rtf0\ansi{\fonttbl\f6\fnil OldEnglish;\f0\fmodern Courier;}
\paperw15340
\paperh7680
\margl120
\margr120
{\colortbl;\red0\green0\blue0;\red130\green0\blue3;\red69\green69\blue69;\red0\green0\blue109;\red250\green222\blue173;}
\pard\tx720\tx2520\tx9200\tx10360\tx11520\f6\b0\i0\ulnone\fs20\li720\fc1\cf1 \

\cb5\fs16 //
\fs72  Ye Hopelessly Olde Chestnut.\

\fs16 //
\fs72     (anonymous)\

\fs20 \
\

\fs72 #include "
\gray157\fc2\cf2 stdio.h
\gray0\fc1\cf1 "
\gray333\fc3\cf3 \

\gray0\fc0\cf0 #define 
\gray157\fc2\cf2 ye
\gray0\fc0\cf0 \
#define 
\gray157\fc2\cf2 olde
\gray0\fc0\cf0 \

\fs20\fc1\cf1 \
\

\fs96 void
\fc0\cf0  
\fc1\cf1 ye
\fs24   
\fs96 olde
\fs24\fc0\cf0   
\fs96\gray157\fc2\cf2 main
\gray0\fc1\cf1 (int ac, char 
*av[])
\fc0\cf0 \{ \

\gray157\fc2\cf2     
\gray0\fc1\cf1 ye
\fs24   
\fs96 olde
\fs24\fc0\cf0   
\fs96\gray157\fc2\cf2 printf
\gray0\fc0\cf0 ("
\gray54\fc4\cf4 Hello, world!\\n
\gray0\fc0\cf0 ");\
\}\

}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.