reading an excel file in C?

S

siliconwafer

Hi All,
I want to know,How can one read an Excel file into C,cell by cell?
Further I want to compare 2 excel files,cell by cell.
I know a crude way which is not working.
I can open an xls file and read it character by character untill a
'\t'(TAB).Then again read it char by char.
I think this should work since an Excel file is nothing but a tab
seperated strings.Am I correct?
What can be an elegant way?
Thanks,
-Siliconwafer
 
K

Kenneth Brody

siliconwafer said:
Hi All,
I want to know,How can one read an Excel file into C,cell by cell?
Further I want to compare 2 excel files,cell by cell.
I know a crude way which is not working.
I can open an xls file and read it character by character untill a
'\t'(TAB).Then again read it char by char.
I think this should work since an Excel file is nothing but a tab
seperated strings.Am I correct?
What can be an elegant way?

http://www.wotsit.org

Search for "xls".

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top