如何使用C ++语言在线比较excel文件? [英] How to use C++ language to compare excel file online?

查看:87
本文介绍了如何使用C ++语言在线比较excel文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I would like to write a website that can compare 2 excel file online by using C++ language,the compare will be like giving people browse 2 file and compare the excel due to (few specific column and compare all the rows). but i have not idea need to start from which part,did any professional can provide some suggestion for me to have an idea to complete the task?

Now My problem is don't know how to implement compare function into website by using C++ language

Thanks and Regards,
 [kinder1212]





我的尝试:



i曾尝试在线进行研究,但我不知道需要从哪个部分开始



What I have tried:

i had tried do research online but i dont get the idea that need to start from which part

推荐答案

从Excel C开始将是非常困难的API并编写一个有用的API,尤其是对于需要可伸缩性和效率的Web应用程序,以及其他所有API。这是一篇关于CodeProject的文章,讨论了这个问题,通过C ++访问Excel电子表格 [ ^ ]。



因此,我建议使用可以从网站调用的具有C ++库的第三方库。其次,为什么使用C ++,您使用什么运行时进行Web开发?



XLW - Excel C API下载的C ++包装器SourceForge.net [ ^ ]

C ++ Excel库读取/写入xls / xlsx文件 - LibXL [ ^ ]



您会注意到我只分享了那些文章和库谈论读/写Excel文件,而不是比较它们。因为这是业务逻辑,你必须写,因为你没有提到任何相关的东西,我无法帮助你。



最后,接受我的建议,找到一个有用的Web应用程序开发框架,使用ASP.NET Core或Node.js,并为这些运行时找到一个有用的库。与任何用于网络编程的C ++运行时不同,它将是您的和平开发。是的,可以开发Node.js以利用C ++库和帮助程序,与ASP.NET Core一样,您始终可以在那里导入C ++库。最好的部分是你可以获得这些运行时的本机库。



导入和导出出色的ASP.NET Core 2.0 Razor页面 [ ^ ]

https://www.npmjs.com/package/xlsx [ ^ ]
It would be very difficult to start with the Excel C API and write a useful API, especially for a web application where scalability, and efficiency are required, on top of everything else. Here is such an article on CodeProject that talks about this, Accessing Excel Spreadsheets via C++[^].

Thus, I would recommend using a third-party library that has C++ library that you can call from a website. Secondly, why C++, what runtime are you using for web development?

XLW - A C++ wrapper for the Excel C API download | SourceForge.net[^]
C++ Excel Library to read/write xls/xlsx files - LibXL[^]

You will notice that I have only shared the articles and libraries that talk about reading/writing Excel files, not comparing them. Because that is the business logic, that you have to write, and since you did not mention anything about that, I cannot help you with it.

Lastly, take my advice, find a useful web application development framework, go with ASP.NET Core, or Node.js, and find a useful library for those runtimes. It will be a peaceful development of yours, unlike with any C++ runtime for network programming. And yes, Node.js can be developed to utilize C++ libraries and helpers, same is with ASP.NET Core, you can always import C++ libraries there. Best part is that you can get the native libraries for these runtimes.

Import and Export excel in ASP.NET Core 2.0 Razor Pages[^]
https://www.npmjs.com/package/xlsx[^]


这篇关于如何使用C ++语言在线比较excel文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆