2016-08-04 12:13:12 -05:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2018-11-05 15:35:32 -06:00
|
|
|
/*
|
2019-04-15 16:21:46 -05:00
|
|
|
* File: HelloWorld.c
|
2018-11-05 15:35:32 -06:00
|
|
|
*
|
|
|
|
* 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
|
2016-08-04 12:13:12 -05:00
|
|
|
int main(int argc, char* argv[]) {
|
2018-11-05 15:35:32 -06:00
|
|
|
HelloWorld();
|
|
|
|
return 0;
|
2016-08-04 12:13:12 -05:00
|
|
|
}
|