- 授权协议: Apache
- 开发语言: C/C++
- 操作系统: 跨平台
- 软件首页: https://github.com/sails/cpptempl
软件介绍
cpptempl 是一个 C++ 模板引擎。
语法:
模板流
Variables
{$variable}Loops:
{% for person in people %}Name: {$person.name}{% endfor %}If:
{% if person.name == "xu" %}Full name: xu{% endif %}使用:
cpptempl::auto_data data;
data["age"] = 10;
data["name"] = "xu";
std::string str = "name:{$name}, age:{$age}";
std::string ret = cpptempl::parse(str, data); // ret will be "name:xu, age:10"Visual C++/Turbo C串口通信编程实践
熊光明 / 电子工业出版社 / 2004-10 / 55.0
一起来看看 《Visual C++/Turbo C串口通信编程实践》 这本书的介绍吧!
