项目详情
由
分享


HelloGitHub 评分
0 人评分
开源•AGPL-3.0
认领
讨论
收藏
分享
431
星数
否
中文
C++
主语言
否
活跃
1
贡献者
0
Issues
否
组织
无
最新版本
30
Forks
AGPL-3.0
协议
更多
这个库让你可以使用 C++ 模板编写 HTML。HTML 文档被表示为一个单一的、深层嵌套的类型,相当于 HTML 的模版引擎。代码简单可供新手学习和使用,示例代码:
```c++
#include <iostream>
#include "html++.h"
int main()
{
html<
head<
title<"Help Me.">
>,
body<
h1<"The horror!">,
p<"Someone has probably done this before, but I can see why it didn't catch on.">,
a<"href=https://github.com/csb6/html-plus-plus", "For science">
>
> page;
std::cout << page.content;
return 0;
}
```
收录于:
第 52 期
评论
评分:
暂无精选评论