Program with web interface

I am writing simple c++ programs (novice) and would like to know how to create web interfaces on top of them.
For example, how could I create a web page with two fields that add together inserted numbers and by clicking a button (calculate) would display the added numbers by invoking the c++ program that would connect to the web page? Is there a particular scripting language that would be helpful for this purpose - or is there a particular web development platform for c++ available (somehow combining c++ and html)?
You could learn Java, as well... its not all that different from C++ and its supported in all standard internet browsers.
PHP is a very C++ like web development language.
Topic archived. No new replies allowed.