Read cells from Excel in C++?
问题 I was wondering how you can read specific cells from an Excel spreadsheet, in C++. I understand we have to use the "fstream" library, but I don't know exactly how I could get those values from a certain cell, and print it on the screen. Any help would be appreciated, thanks! Carpetfizz 回答1: in linux you have this free: http://libxls.sourceforge.net/ in windows you have http://www.libxl.com/ which seems to cost money: Book* book = xlCreateBook(); if(book) { if(book->load(L"example.xls")) {