How is C++ used for website server-side programming?

Hey all,i was wondering,how is C++ used for website server-side scripting?
Many famous websites are written in C++,but i can't understand how to use it for back-end.
I am asking for structure,how to combine C++ with HTML.
Here is where to start your research:
https://www.google.com/search?q=C%2B%2B+CGI

The first link for me looked like a good tutorial:
http://www.tutorialspoint.com/cplusplus/cpp_web_programming.htm
There are plenty of HTTP server implementations in C and C++, just pick one and go ham writing your own server. There's also template engines and CGI.
Oh,thanks in advance :D
I think i'll check those and test it out :P
Topic archived. No new replies allowed.