28 lines
467 B
C
28 lines
467 B
C
#include <stdio.h>
|
|
|
|
/*
|
|
* File: HelloWorld.c
|
|
*
|
|
* Description: This file exemplifies printing 'Hello world!' in C.
|
|
*
|
|
* Package: AniNIX::Foundation/HelloWorld
|
|
* Copyright: WTFPL
|
|
*
|
|
* Author: DarkFeather <darkfeather@aninix.net>
|
|
*/
|
|
|
|
static char * message = "Hello world!";
|
|
|
|
/// <summary>
|
|
/// Prints 'Hello world!'
|
|
/// </summary>
|
|
void HelloWorld() {
|
|
printf("%s\n",message);
|
|
}
|
|
|
|
// MAIN
|
|
int main(int argc, char* argv[]) {
|
|
HelloWorld();
|
|
return 0;
|
|
}
|