C: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Thomas (Diskussion | Beiträge)
Der Seiteninhalt wurde durch einen anderen Text ersetzt: „=Hello World= *C - Compilieren“
Zeile 1: Zeile 1:
=Hello World=
=Hello World=
==Sourcecode==
*[[C - Compilieren]]
*cat hello-world.c
<pre>
#include <stdio.h>
 
int main(void)
{
    puts("Hallo Welt!");
}
</pre>
==Compile==
*gcc  hello-world.c -o hello-world
==Result==
file *
hello-world:  ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked ...
hello-world.c: C source, ASCII text
=Run=
*./hello-world
Hallo Welt!

Version vom 30. Oktober 2018, 11:03 Uhr

Hello World