如何使用C ++创建HTML页面 [英] How do I create an HTML page using C++

查看:126
本文介绍了如何使用C ++创建HTML页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C ++创建一个html页面。



我尝试了什么:



我尝试使用它不起作用的基本html标签。

how to create an html page using C++ .

What I have tried:

I tried using basic html tags it didnt work.

推荐答案

当您使用文本编辑器或文本打开HTML文件时,您会看到HTML代码。这个文本你必须在你的应用程序中作为普通字符串创建并保存在磁盘上或作为一个请求的答案发送。



一篇关于在C ++应用程序中嵌入Web服务器
When you open an HTML-file with an text editor or as text you see the HTML-code. This text you must create in your app as a normal string and save it on disk or send it as answer to a request.

A nice article about Embedding a Webserver in your C++ Application.


这篇关于如何使用C ++创建HTML页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆