I tried several C ++ built-in web servers. They are usually a problem to use, not Windows.
(You do not mention your platform. If you are running Unix, I suspect that you will find the available servers easier to use and may ignore this answer. If you are on Windows, read on ...)
I tried Wt, but was defeated by a massive installation, which takes hours to compile and create page after page of warnings and an extensive learning curve. Wt is modeled on Qt, so if you are familiar with Qt, the learning curve will be a much less difficult task.
I tried Webio by John Bartas. I liked the concept and it worked well. However, I found it too complicated to use, and server-side code is hard to understand. The great complexity of Webio is caused by the use of the "HTML compiler" to hide the HTML pages that control the appearance of the GUI inside the file system embedded in the application code. I prefer the HTML pages to be outdoors, I can customize the GUI without recompiling the application.
I also looked at TWS. This is Richard Hipp, who is responsible for SQLITE and FOSSIL and from whom I am a big fan. However, TWS is not supported since 2001 and is not really WINDOWS, so I reluctantly decided not to continue it.
In the end, I turned my own, called WEBEM, based on a minimally modified version of the boost :: asio web server. In a concept similar, but simpler than TWS, it allows the html code to execute C ++ methods.
ravenspoint Nov 18 '09 at 15:13 2009-11-18 15:13
source share