is there a way to put c++ applications on the web, like what you do in Java with applets?
is there a way to put c++ applications on the web, like what you do in Java with applets?
You can use a C++ program to process html page requests and serve up pages. In this regard, the program would be called a "CGI" program.
As far as running a C++ program inside a web page off the server, I have not done that. (Although I have done several Java applets).
Mainframe assembler programmer by trade. C coder when I can.
As stated, CGI is what you would use. CGI is actually pretty easy, and your program would be almost identical to writing a C or C++ command-line program. Note that the C/C++ programs are executed on the web server, prior to being sent to the client browser. They are not executed on a "website" or anything like that. The only things that can be executed on the client side/browser, are, just that: client-side technologies, such as HTML, JavaScript, etc.
No. C++ is compiled to machine code and is therefore very platform dependent. Java is platform independent, which is why you can put a Java Applet on your web page and have it work on everyone else's browser. C++ code compiled on Windows won't work on Linux, Mac or anywhere else...
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010