ExcelLibrary:Excel 库

时间:2024-06-26 13:19:11
【文件属性】:

文件名称:ExcelLibrary:Excel 库

文件大小:12KB

文件格式:ZIP

更新时间:2024-06-26 13:19:11

C++

Excel 库 介绍 包装了Excel的COM接口。快速读取和写入大量数据。 功能 创建 xls, xlsx 格式 ExcelApplication app; ExcelWorkbook workbook = app.AddWorkbook(); workbook.SaveAs(filename, ExcelFileFormat::Xlsx); workbook.Close(); 写入数据 const ULONG rowNum = 20 ; const ULONG colNum = 10 ; ExcelData excelData; excelData.Create(rowNum, colNum); for (ULONG row = 1 ; row <= rowNum; ++row) { for (ULONG col = 1 ; col <= colNum; ++col) { _


【文件预览】:
ExcelLibrary-master
----.gitattributes(378B)
----README.md(1KB)
----.gitignore(901B)
----ExcelLibrary()
--------ExcelWorksheet.h(282B)
--------ExcelApplication.cpp(842B)
--------ExcelWorksheet.cpp(2KB)
--------stdafx.h(293B)
--------ReadMe.txt(1KB)
--------UseTime.h(223B)
--------ExcelData.h(381B)
--------ImportExcelTypeLib.h(1KB)
--------stdafx.cpp(210B)
--------ExcelLibrary.cpp(2KB)
--------ExcelWorkbook.h(401B)
--------ExcelWorkbook.cpp(2KB)
--------ExcelLibrary.vcxproj.filters(2KB)
--------ExcelLibrary.vcxproj(5KB)
--------ExcelData.cpp(984B)
--------targetver.h(228B)
--------ExcelApplication.h(226B)
----ExcelLibrary.sln(960B)

网友评论