Please Help

RudeCGI™ Open Source C++ CGI Library

Version 5.1.0

Basic Usage Example


#include <rude/cgi.h>
#include <iostream>

using namespace std;

int main(void)
{
  // Obtain the CGI instance
  //
  rude::CGI cgi;
  
  // Print out standard CGI HTTP Response header
  //
  cout << "Content-Type: text/html\n\n";
  
  // Print out HTML
  //
  cout << "<html><body>"
       << "You selected the color: "
       << cgi["color"]
       << "</body></html>";
		 
  return 0;
}