I have an Excell file that I need to read to be able to bring the cells into a struct. I have tried using fstream and I get garbage. How can i go about this??
mrjoli021
-3
Junior Poster
Recommended Answers
Jump to PostExcel uses a proprietary format. Unless you know how to decode it, you won't be able to get very far. You might try exporting the excel file as a CSV or something...
Jump to PostIf you're feeling adventurous, download OpenOffice's source code. It contains algorithms for reading Excel files, which you can implement in your program, under the GPL.
And if you don't like the idea of digging through mountains of source code, do what Infarction suggested, and try reading in a simple …
All 8 Replies
Infarction
503
Posting Virtuoso
John A
1,896
Vampirical Lurker
Team Colleague
mrjoli021
-3
Junior Poster
Infarction
503
Posting Virtuoso
mrjoli021
-3
Junior Poster
John A
1,896
Vampirical Lurker
Team Colleague
Aia
1,977
Nearly a Posting Maven
iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.