摘要
分析在Visual Studio 2005下利用C++语言读取Microsoft Office Excel文件内容的几种典型方法的优缺点。当读写不含公式、图表Excel文件中的大量数据时可以采用读写Excel非常快的BasicExcel方法,本文详细给出一种修改Ba-sicExcel类的加载函数、Sheet页操作函数、读写单元格函数、另存为函数的方法,使该类能够很好地支持中文平台。
The advantages and disadvantages of several kinds of typical methods of accessing Microsoft Office Excel file content by C++ language in Visual Studio 2005 is analyzed.BasicExcel class which accesses Excel fast is used when accessing the large amounts of data in the Excel file which does not contain formula or chart.A method of modifying loading function,sheet operation function,accessing cell function and saving as function of BasicExcel is provided in detail.This class easily supports Chinese platform.
出处
《计算机与现代化》
2011年第8期198-200,共3页
Computer and Modernization