tigo@tigo:/$ tigo@tigo:/projects/c/cgi$ cat test.c #include int main() { printf("Content-type: text/html\n"); // тип посылаемых данных - HTML документ printf("Pragma: no-cache\n"); // запрещаем кэширование страницы printf("\n"); // двойной перевод каретки - признак // конца информации для браузера // Теперь можем смело выводить HTML документ printf("\n"); printf(" \n"); printf("

Hello, World!

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