+ 3

Is it possible to create a site in C ++? If so, how?

4th May 2018, 4:40 PM
King Sam
King Sam - avatar
2 Respuestas
+ 3
websites are created by html, css and javascript. when you type a site address in your browser, a request will send to a server and get responses in http protocol, containing html, css and javascript. then browser renders html, css and runs javascript. you can not use c++ because browsers not understand it, but you can write a http server by c++ that accepts browser request and send back responses to it.
4th May 2018, 4:58 PM
🇮🇷 M N
+ 2
your link aproves my answer, browsers not underestand c++, so you can not use it, they only accept html, css and javascript but I said that we can write webservers by c++, and forgot about cgi both web server and cgi accept requests from browsers and send back responses as html, css and javascripts so if the question is about client side the answer is no, c++ never use for building sites but if the question is about server side, we can build sites with java using jee, c++ using cgi, php, asp, ... and every programming language that supports socket programming by implementing a web server
4th May 2018, 7:33 PM
🇮🇷 M N