C++ 编写的文件访问库 xlnt

码农软件 · 软件分类 · 其他开发相关 · 2019-10-17 06:28:33

软件介绍

xlnt是一个现代的C ++库,用于处理内存中的电子表格,并按照ECMA 376第4版的说明从XLSX文件读取/写入。xlnt 1.0的第一个公开版本于2017年5月10日发布。当前的工作重点是增加兼容性,改进性能和头脑风暴未来的发展目标。有关使用此库的高级摘要,请参阅功能列表

例如:

在项目中引入xlnt,创建一个新的电子表格,并将其保存为“example.xlsx”。

#include <xlnt/xlnt.hpp>
int main()
{
    xlnt::workbook wb;
    xlnt::worksheet ws = wb.active_sheet();
    ws.cell("A1").value(5);
    ws.cell("B2").value("string data");
    ws.cell("C3").formula("=RAND()");
    ws.merge_cells("C3:C4");
    ws.freeze_panes("B2");
    wb.save("example.xlsx");
    return 0;
}
// compile with -std=c++14 -Ixlnt/include -lxlnt

本文地址:https://codercto.com/soft/d/16926.html

Algorithms for Image Processing and Computer Vision

Algorithms for Image Processing and Computer Vision

Parker, J. R. / 2010-12 / 687.00元

A cookbook of algorithms for common image processing applications Thanks to advances in computer hardware and software, algorithms have been developed that support sophisticated image processing with......一起来看看 《Algorithms for Image Processing and Computer Vision》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具