Welcome, Guest. Please login or register.

Author Topic: Beginners 'C' programing group  (Read 13107 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline crystall

  • Newbie
  • *
  • Join Date: Nov 2003
  • Posts: 32
    • Show all replies
Re: Beginners 'C' programing group
« on: February 13, 2004, 12:51:33 AM »
Quote
#include
#include

int main(void)
{
printf("hello world\n");
return EXIT_SUCCESS;
}


I think strict ANSI-C code would look like this

#include
#include

int main( void )
{
    printf("Hello world!\n");
    exit(0);
}

and here's something funny about "Hello world!" programs:

Evolution of a programmer