reading an excel file in C?

Discussion in 'C Programming' started by siliconwafer, Aug 19, 2005.

  1. siliconwafer

    siliconwafer Guest

    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
     
    siliconwafer, Aug 19, 2005
    #1
    1. Advertising

  2. siliconwafer wrote:
    >
    > 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:>
     
    Kenneth Brody, Aug 19, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luis Esteban Valencia
    Replies:
    1
    Views:
    1,404
    Carl Prothman [MVP]
    Jan 12, 2005
  2. Replies:
    1
    Views:
    1,805
    extentechjohn
    Nov 21, 2006
  3. pps!
    Replies:
    0
    Views:
    1,044
  4. Replies:
    1
    Views:
    457
    Keith Thompson
    Apr 12, 2005
  5. =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=

    Problem with Excel reports ::::Excel 2003 Migration To Excel 2007

    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=, Oct 5, 2007, in forum: ASP .Net
    Replies:
    15
    Views:
    1,548
    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=
    Oct 24, 2007
Loading...

Share This Page