Web server extension for writing scripts using C ++?

Well, I was wondering if there is an extension for the web server that allows me to “script” in C ++ instead of a scripting language like php?

some pseudo code:

#include <iostream> cout << "<html><title>this is a webpage</title></html>"; 

I know this sounds silly, but I'm really curious if such a thing exists.

Or maybe there is something that allows you to run compiled C ++ code as a web page from a web server?

+4
source share
1 answer

Well, as the comments said, you can do what you want using CGI. If you need to make webapp using C ++, WT, probably you need the infrastructure:

http://www.webtoolkit.eu/wt

+1
source

All Articles