91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 55KB
    文件類型: .zip
    金幣: 2
    下載: 13 次
    發布日期: 2021-01-10
  • 語言: 其他
  • 標簽: vs??c++??excel??BasicExcel??

資源簡介

BasicExcel.cpp
BasicExcel.h
ExcelFormat.cpp
ExcelFormat.h

資源截圖

代碼片段和文件信息

#include?“ExcelFormat.h“

#ifdef?_MSC_VER
#include? //?for?alloca()
#endif


#ifdef?_WIN32

namespace?WinCompFiles
{

CompoundFile::CompoundFile()
{
_pStg?=?NULL;
}

CompoundFile::~CompoundFile()
{
Close();
}

//?Compound?File?functions
bool?CompoundFile::Create(const?wchar_t*?filename)
{
HRESULT?hr?=?StgCreateDocfile(filename?STGM_READWRITE?|?STGM_CREATE?|?STGM_SHARE_EXCLUSIVE?0?&_pStg);

return?SUCCEEDED(hr);
}

bool?CompoundFile::Open(const?wchar_t*?filename?ios_base::openmode?mode/*=ios_base::in|ios_base::out*/)
{
int?stgm_mode;

if?((mode?&?(ios_base::in?|?ios_base::out))?==?(ios_base::in?|?ios_base::out))
stgm_mode?=?STGM_READWRITE?|?STGM_SHARE_EXCLUSIVE;
else?if?(mode?&?ios_base::out)
stgm_mode?=?STGM

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????215887??2020-03-21?13:25??BasicExcel.cpp
?????文件???????66866??2020-03-21?18:17??BasicExcel.h
?????文件????????6707??2020-03-20?22:34??ExcelFormat.cpp
?????文件???????17061??2020-03-20?22:37??ExcelFormat.h

評論

共有 條評論