软件简介

XLW 是一个C++语言对 Microsoft Excel 97 的开发者工具包的一个封装,简化了C++程序操作Excel文档的方法,支持最新版的 Excel 2007。

示例代码

// Test.h

#ifndef TEST_H
#define TEST_H

//<xlw:libraryname=MyTestLibrary

std::wstring // Concatenate two strings
//<xlw:time
Concat(std::wstring str1, // First string
std::wstring str2); // Second string

double // Compute the circumference of a circle
//<xlw:time
Circ(double Diameter); // The circle's diameter

#endi
转载自: https://www.oschina.net/p/xlw