Anyone has experience in making C++ available as cgi script so it can be used online?
Besides C++ CGI, anyone know if there are alternatives to making your C++ code available online?
Anyone has experience in making C++ available as cgi script so it can be used online?
Besides C++ CGI, anyone know if there are alternatives to making your C++ code available online?
For the time being, I'm considering only CGI approach because I have compiled C++ to cgi on this server before (for the mathtex engine) and just ran some testing with a simple C++ code. It worked so I'm reading into parsing the input form into some Black-Scholes pricing library now.
If you are looking for a quick and dirty solution, I suggest you write a perl cgi wrapper script that does all the dirty work of parsing parameters. You can then pass this as command line arguments to your c++ task.
---------- Post added at 05:52 PM ---------- Previous post was at 05:40 PM ----------
There are also perl-c++ glue solutions like Inline::CPP and SWIG. I haven't used them in a long time but there is good documentation on these.
Never used it in the context of wrapping for Web, but I find SWIG to be by far the most mature solution for wrapping C/C++ code for myriad of scripting languages.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.