尝试web语言开发嘛,都是hello word开始的嘛
<code hello.c>
#include <fcgi_stdio.h> /* fcgi 文件; 放在第一行*/
#include <stdlib.h>
int count;
char *Response_Header = "Content-type: text/html\r\n\r\n";
int initialize(void)
{
count=0;
return count;
}
int main(void)
{
/* 初使化部分 */
initialize();
/* 循环应答部分。 */
while (FCGI_Accept() >= 0)
{
printf(Response_Header);
printf( |