The First C Programme

Author: (Norbert) Suedland, Aalen, Germany

Since Kernighan and Ritchie ([1988KR], chapter 1.1, page 9), the first and maybe shortest C programme hello.c reads the following:

#include<stdio.h>

main( )
{
printf( "hello, world\n" ) ;
}

This programme demonstrates, what can be understood by international:

In Borland C++ 5, this programme is cited among the examples to be a DOS programme only. This means:

An English translation hello.English.c of this first C programme would be:

#include<English/standard_input_and_output.header.h>

main_part( )
{
print_formatted( "Hello, somewhere in the world!\n" ) ;
}

Here, the expression .h for header file remains as abbreviation, thus the Windows system, looking at the file name endings, will not be perturbated by this translation.

A Historical Problem (next contribution) Table of Contents The Main Problem (privious contribution)
Deutsche Fassung Esperanta versio