Tom's Hardware > Forum > Applications > Programming > Convert c to cgi
Word :    Username :           
 

How can i convert .c file in .cgi file?

Sponsored Links
Register or log in to remove.

To my knowledge, a .cgi file is simply a .exe file with a different extension to indicate that it's used for web purposes. You simply have to compile it like any other program, but with a .cgi extension for the output.

Reply to Zenthar

You'd need to compile it to some kind of executable / binary first.

Then yeah, parameters, inputs, outputs.

The output to StdOut should be in HTML though.
StdErr I don't think gets output to the browser at the other end, but may be useful for logging on the server.

Make sure the code is 'tight'.

------------------------------ Averaging 7 points per post, since err, I re-joined this mess.
Reply to Scott2009
Tom's Hardware > Forum > Applications > Programming > Convert c to cgi
Go to:

There are 926 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them