Jan 7, 2018 at 10:27pm UTC
Is it possible to build a website completely in C++? If not, what is C++ primarily used for?
Jan 7, 2018 at 10:44pm UTC
A web-site is laid-out according to the instructions in an HTML file, and styled using the instructions in a CSS file. These formats are what web browsers understand.
It is possible to use C++ on the server-side to create HTML documents and send them to the users, and to do whatever else is necessary upon receipt of a request from a client.
Neither HTML nor CSS are
. But C++ is, and can be used to create programs, or applications, that do whatever the programmer wants.
Here is a list of some of the possible applications:
Jan 8, 2018 at 12:28am UTC
There are server-side frameworks. I've used Wt, but can't recommend it. Not used TreeFrog.
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2017 - All rights reserved -
Spotted an error? contact us