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 (46 lines) | stat: -rw-r--r-- 962 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
##################################################
# Ein kurzes Beispiel einer Software-Dokumentation
##################################################
!code [latin1]

!docinfo [title]   Die Anleitung zu
!docinfo [program] Hello, World!
!docinfo [version] 8.15
!docinfo [date]    (!today)

!docinfo [author]  Dirk Hagedorn
!docinfo [address] In der Esmecke 9
!docinfo [address] D-59846 Sundern
!docinfo [address] Internet: DirkHage@aol.com
!docinfo [address] MausNet: Dirk Hagedorn @ MK2

!begin_document
!maketitle
!tableofcontents

!node Installation

Installieren Sie zunchst einen C-Compiler,
falls noch nicht geschehen.

Erstellen Sie eine neue Datei namens
(!V)hello.c(!v) und geben Sie folgendes ein:

!begin_quote
!begin_verbatim
#include <stdio.h>

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

    return(0);
}
!end_verbatim
!end_quote

Sichern Sie die Datei und compilieren Sie sie.
Starten Sie das vom Compiler erzeugte Programm.

!end_document