Arkadiy Butermanov | 5 Jul 20:01

CGI over C++

Anybody knows how can I compile cgi web scripts after writing it on C++??? Or how can C++ generate HTML code??

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Konstantin Svist | 5 Jul 20:20

Re: CGI over C++

Arkadiy Butermanov wrote:
> Anybody knows how can I compile cgi web scripts after writing it on 
> C++??? Or how can C++ generate HTML code??

In your C++ application, you read in command line parameters (they 
correspond to URL query arguments), and stdin (postdata), then you spit 
out data into stdout - it will appear to the browser as main content 
(HTML or whatnot).
It's not an efficient way to code your web apps, though, so few do it 
anymore.

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Joe Klemmer | 6 Jul 18:41

Re: CGI over C++

On Sat, 5 Jul 2008, Konstantin Svist wrote:

>> Anybody knows how can I compile cgi web scripts after writing it on 
>> C++??? Or how can C++ generate HTML code??
>
> In your C++ application, you read in command line parameters (they 
> correspond to URL query arguments), and stdin (postdata), then you spit 
> out data into stdout - it will appear to the browser as main content 
> (HTML or whatnot). It's not an efficient way to code your web apps, 
> though, so few do it anymore.

 	You might want to check freshmeat for C/C++ CGI libraries.

-- 
Interesting Boring Blog - http://x-nc.blogspot.com
A combination of insight and inanity for your reading pleasure

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

samk | 5 Jul 20:10

Re: CGI over C++

See Thread at: http://www.techienuggets.com/Detail?tx=43131 Posted on
behalf of a User

Generating HTML is up to your C++ program. String the HTML together. There
may be some helper libs out there but it's pretty simple to do it yourself.

In Response To: 

Anybody knows how can I compile cgi web scripts after writing it on C++???
Or how can C++ generate HTML code??

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Jiann-Ming Su | 6 Jul 08:42

Re: CGI over C++

2008/7/5 Arkadiy Butermanov <ardess <at> gmail.com>:
> Anybody knows how can I compile cgi web scripts after writing it on C++???
> Or how can C++ generate HTML code??
>

http://www.gnu.org/software/cgicc/

-- 
Jiann-Ming Su
"I have to decide between two equally frightening options.
 If I wanted to do that, I'd vote." --Duckman
"The system's broke, Hank. The election baby has peed in
the bath water. You got to throw 'em both out." --Dale Gribble
"Those who vote decide nothing.
Those who count the votes decide everything." --Joseph Stalin

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Gmane