how to put a c++ program in the web ?

Dear all,

I have a huge c++ program (gcc compiled) that runs on a linux console. It's an interactive program in the sense that it requires the user to enter some information through the console in order to process and give some complicated output (cout, cin). For a naive illustration, imagine a program asking you for your age on the console, you enter it and the program gives you your year of birth. The same, but a bit more complicated is my program.

My problem is just that I need it to be executed in a browser by people on the other side of the world. I do have a server where it can run, but I don't know how to make the necessary interface. Can someone of you help me out?

I thank you in advance,

saul
http://www.theserverside.net/tt/articles/showarticle.tss?id=RunFromWeb

This should be what you're looking for...or at least point you in the right direction
try cgi.. you can have a html page that can invoke your c program..
Topic archived. No new replies allowed.