Repository Details
Shared by
HelloGitHub Rating
0 ratings
这个库让你可以使用 C++ 模板编写 HTML
Past 6 days Received 0 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 433 | — |
| 周三 | 433 | 0 |
| 周四 | 433 | 0 |
| 周五 | 433 | 0 |
| 周六 | 433 | 0 |
| 周日 | 433 | 0 |
433
Stars
No
Chinese
C++
Language
No
Active
1
Contributors
0
Issues
No
Organization
None
Latest
31
Forks
AGPL-3.0
License
这个库让你可以使用 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