File: hello.u

package info (click to toggle)
udo 6.4.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,680 kB
  • sloc: ansic: 42,702; makefile: 81; cpp: 19
file content (49 lines) | stat: -rw-r--r-- 878 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
###################################################
# A small demonstration of a software documentation
###################################################

!code_iso
!english

!title   The Guide to
!program Hello, World!
!version Release 42
!date    (!today)

!author  Dirk Hagedorn
!street  In der Esmecke 9
!town    59846 Sundern
!country Germany
!email   Internet: DirkHage@aol.com
!email   MausNet: Dirk Hagedorn @ MK2

!begin_document
!maketitle
!tableofcontents

!node Installation

In first place you should install a C compiler if you haven't installed
one yet.

Generate a text file called (!V)hello.c(!v) end
insert the following lines:

!begin_quote
!begin_verbatim
#include <stdio.h>

int main ( void )
{
    puts("Hello, World!");

    return(0);
}
!end_verbatim
!end_quote

Save this file and compile it. Start the
program the compiler has built.

!end_document