/* helloworld.c -- * "Hello World" * Written by J. Patrick Van Metre for * World Wide Web: Beyond the Basics * CS 6204 at Virginia Polytechnic Institute and State University * * This CGI application says hello to the world */ #include void main() { /* Output header information (followed by blank line): */ /* MIME type of contents of body */ printf("Content-type: text/html\n\n"); /* Output body */ printf("\n\n"); printf("\n"); printf("Example 12.1\n"); printf("\n\n"); printf("\n"); printf("

Hello world

\n"); printf("\n\n"); printf("\n"); }