cgi2.cpp

来自「这是一些c++例程」· C++ 代码 · 共 17 行

CPP
17
字号
#include <stdio.h>
#include <string.h>
main()
{
  printf("Contenttype:text/html\n\n");
  printf("<html>\n");
  printf("<head><title>An HTML Page From a CGI</title></h ead>\n");
  printf("<body><br>\n");
  printf("<h2> This is an HTML page generated from with i n a CGI program..   .</h2>\n");
  printf("<hr><p>\n");
  printf("<a href="../output.html#two"><b> Go back to out put.html page <
 	  /b></a>\n");
  printf("</body>\n");
  printf("</html>\n");
  fflush(stdout);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?