Save your time with http://www.webtoolkit.eu/wt when you are in mindset to write CGIs in C++... ;-)
On Mon, 2010-12-13 at 22:18 +0100, Jean-Francois wrote: > Hello, > > Sorry for posting basic question here, would you please let me know why such > script does'nt work (error with "Premature end of script headers") ? > > > #include <iostream> > using namespace std; > > int main() > { > cout << "Content-type: text/plain" << endl << endl << "Hello, World!"; > } > > > It actually shows flush needed on google but I'm not able to do a hello world > CGI in C++. > > Thjanks for your help, > > Reagrds