C++ with CGI

Posted on 1999-07-28
Medium Priority
Last Modified: 2010-05-18
I am new to C++ as CGI agent though I do have experience with CGI in perl.  How are the CGI variables named in C++ and how do you configure a Solaris/Netscape Enterprise server to make them available or is that something that happen when you install C++?

Thanks Guadalupe
Question by:guadalupe
LVL 23

Accepted Solution

chensu earned 600 total points
ID: 1201293
There are many C/C++ CGI libraries, which deal with CGI variables for you. They come with samples and documentations. Some of them are listed below.

cgiClass - A C++ class which contains many functions for creating HTML, manipulating CGI input and much more.

Cgicc - A C++ class library that facilitates the writing of CGI applications

libcgi++, A C++ class library for CGI decoding

The CGI-LIB Library - An ANSI C Library for CGI Programming

cgic: an ANSI C library for CGI Programming

You may also go to the following Web site to find your favorite CGI library.

The CGI Resource Index
LVL 86

Expert Comment

ID: 1201294
>> How are the CGI variables named in C++

CGI apps read these vriables from the process environment block (i.e. the 'environment variables'), they have the same names in all programming languages...

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

599 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question