Advertisement
Java_Volume1 Internet/ Browsers/ HTML #100099

Using C++ for CGI work.

This isn't much, but it shows you how to use C++ to make CGI programs. NOTE: Please read "Explanations/Assumptions" for instructions on how to use this.

AI

AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

源代码
original-source
#include <cstdio>
#include <string>
int main()
{
	using namespace std;
	char * pcReqMtd;
	fprintf(stdout, "Content-type: text/html\n\n");
	pcReqMtd = getenv("REQUEST_METHOD");
	fprintf(stdout, pcReqMtd);
	return 0;
}
原始评论 (3)
从 Wayback Machine 恢复