[問題] 有關VC++ 6.0 存成EXCEL
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++ 6.0
問題(Question):
#include "libxl.h"
using namespace libxl;
int main()
{
Book* book = xlCreateBook(); // xlCreateXMLBook() for xlsx
if(book)
{
Sheet* sheet = book->addSheet(L"Sheet1");
if(sheet)
{
sheet->writeStr(2, 1, L"Hello, World !");
sheet->writeNum(3, 1, 1000);
}
book->save(L"example.xls");
book->release();
}
return 0;
}
請問在DEBUG時
出現cannot open include file: 'libxl.h' : No Such file or directory
還是有其他的存資料到excel方式??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.124.249.111
※ 編輯: watson1988 來自: 140.124.249.111 (11/22 15:17)
※ 編輯: watson1988 來自: 140.124.249.111 (11/22 15:52)
→
11/22 16:36, , 1F
11/22 16:36, 1F
→
11/22 16:37, , 2F
11/22 16:37, 2F
→
11/22 17:53, , 3F
11/22 17:53, 3F
→
11/22 18:11, , 4F
11/22 18:11, 4F
→
11/29 11:44, , 5F
11/29 11:44, 5F