The First Traditional "Hello world!"

From MorphOS Library

Revision as of 08:41, 23 October 2010 by Krashan (talk | contribs) (Contents++;)

Grzegorz Kraszewski


"Hello World!" With the Standard C Library

With the standard C library, one can use the "Hello World!" example exactly as found in a C handbook. It is given below, just for completness:


#include <stdio.h>

int main(void)
{
  printf("Hello World!\n");
  return 0;
}


"Hello World!" With MorphOS Native API