Repository Details
Shared by


HelloGitHub Rating
0 ratings
Free•AGPL-3.0
Claim
Discuss
Collect
Share
431
Stars
No
Chinese
C++
Language
No
Active
1
Contributors
0
Issues
No
Organization
None
Latest
30
Forks
AGPL-3.0
License
More
这个库让你可以使用 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;
}
```
Included in:
Vol.52
Comments
Rating:
No comments yet