如何使用C ++编写类,然后将数据插入excel中的某些列和行中 [英] How to write a class by using C++, and then insert the data in excel in a certain columns and rows
本文介绍了如何使用C ++编写类,然后将数据插入excel中的某些列和行中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想编写一个类,以便将数据插入excel中的某些列和行中
通过使用C ++.有人可以告诉我该怎么做吗?
I want to write a class ,for insert the data in excel in a certain columns and rows
by using C++.Can somebody tell me how to do it?
推荐答案
看看 http://www.libxl.com/ [ ^ ]它使您可以从C ++操作本机Excel文件.但请注意,这不是商业图书馆,也不是免费软件.
Take a look at http://www.libxl.com/[^] which lets you manipulate native Excel files from C++. But be warned, this is not a commercial library and no freeware.
Google 和文档(例如使用Visual C ++的Office自动化" [
Google and the documentation (for instance "Office Automation Using Visual C++"[^]) are your friends.
这篇文章似乎很有趣:
如何使用托管C ++使Excel自动化 [ ^ ]
您甚至可以避免思考;)
This article seems perticularly intersting:
How to use Managed C++ to Automate Excel[^]
You could even avoid the thinking bit ;)
这篇关于如何使用C ++编写类,然后将数据插入excel中的某些列和行中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文