#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; }