/* hello.c: a CGI example by Thomas Boutell. */

/* Bring in the declarations for standard C input and output */
#include <stdio.h>

/* Declare the main function */
int main(int argc, char *argv[]) 
{
	/* First indicate the content type of the document; in this
		case we are outputting HTML. Note that we output
		TWO carriage returns after the content type.
		This is important! */
	printf("Content-type: text/html\n\n");

	/* Output a proper HTML document, with <head>
		and <body> tags. */

	printf("<head>\n");
	printf("<title>Hello, World</title>\n");
	printf("</head>\n");
	printf("<body>\n");
	printf("<h1>Hello, World</h1>\n");
	printf("</body>\n");

	return 0;
}
