• 0

How to read an excel file w/ C++


Question

Hi,

I have an excel file that is constantly updating... it is receiving stock quotes. I also have a C++ application that I would like to read this excel file. I want to create a loop so that every second it will read say cellls A1 to A500. Is there anyone who'd be able to give me an advice doing this. Also how hard will this be? Will I have a problem with a sharing? cause the excel file is being updated and the C++ program is trying to read it

Thanks

Link to comment
https://www.neowin.net/forum/topic/737284-how-to-read-an-excel-file-w-c/
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Did you even try googling? I'm sure there are plenty of C++ interfaces for excel spreadsheets.

And yes, of course you're going to have some kind of problem if you're trying to read to/write from the same file at the same time. You'll need to figure out a locking mechanism or something else depending on your OS.

  • 0

Checking Google is the best thing, buddy :

- http://www.gidforums.com/t-4528.html

- http://www.wotsit.org/default.asp

And I think this can also do what you are looking for, it is platform independent also

- The Chicago Project

- http://www.codeproject.com/KB/database/cspreadsheet.aspx

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.