Available C++ Libraries FAQ

Tools for C++ Programmers

CGI.h C++ include file - Defines a CGI object and access methods

CGI.h is a C++ #include file that allows a 'CGI' object to be created then HTML tags generated via methods.

Here is an example..

#include <iostream.h> #include <stdlib.h> #include <string.h> #include "CGI.h"

int main() {

CGI c;

c.comment("A test CGI page by Trans-Euro It Ltd"); c.start_html("Stephen Martin tigger@marketrends.net", "Test CGI Page- written using C++ Include file", "white");

char cgiurl[]="http://www.mydomain.com/cgi-bin/CGI.cgi"; char method[] ="post";

c.form_start(cgiurl,method); c.submit(9; c.form_end();

c.end_html();

exit(0); }

Operating Systems

  • Unix

Compilers

  • GCC

Added : 2000-04-26 Amended: 2000-04-26 Licensing : Public Domain

    CGI.h C++ include file - Defines a CGI object and access methods
  • Submitted by:tigger@marketrends.net
Add a comment
Our ads
Buy gold
Beat the credit crunch - buy gold online - quickly, safely and at low prices
www.bullionvault.com
Google
Trumphurst Home Page
C++ Usenet Newsgroup
A Web form for submissions to this list
Contact the author for permission to distribute

Copyright (c) 2017 Nikki Locke, Trumphurst Ltd.
Permission is granted to distribute over the Internet without charge. The author's permission is required (and usually given) to distribute in any other way, including on CD.