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

  • 大小: 115KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-04
  • 語言: 其他
  • 標(biāo)簽:

資源簡介

讀寫文件,包括讀寫數(shù)據(jù),文本等。VC讀寫文件,從文件中讀數(shù)據(jù)然后寫入數(shù)據(jù)到文件中。

資源截圖

代碼片段和文件信息

//?FileOperation.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“FileOperation.h“
#include?“FileOperationDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CFileOperationApp

BEGIN_MESSAGE_MAP(CFileOperationApp?CWinApp)
//{{AFX_MSG_MAP(CFileOperationApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CFileOperationApp?construction

CFileOperationApp::CFileOperationApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFileOperationApp?object

CFileOperationApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CFileOperationApp?initialization

BOOL?CFileOperationApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CFileOperationDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????36272??2005-02-24?14:30??讀寫文本文件\FileOperation.aps

?????文件???????1547??2005-02-24?17:19??讀寫文本文件\FileOperation.clw

?????文件???????2161??2005-02-24?11:27??讀寫文本文件\FileOperation.cpp

?????文件???????4285??2005-02-24?11:27??讀寫文本文件\FileOperation.dsp

?????文件????????551??2005-02-24?11:27??讀寫文本文件\FileOperation.dsw

?????文件???????1401??2005-02-24?11:27??讀寫文本文件\FileOperation.h

?????文件??????58368??2005-02-25?17:09??讀寫文本文件\FileOperation.ncb

?????文件??????53760??2005-02-25?17:09??讀寫文本文件\FileOperation.opt

?????文件????????260??2005-02-25?17:07??讀寫文本文件\FileOperation.plg

?????文件???????5838??2005-02-24?14:30??讀寫文本文件\FileOperation.rc

?????文件???????9168??2005-02-24?15:52??讀寫文本文件\FileOperationDlg.cpp

?????文件???????1527??2005-02-24?11:40??讀寫文本文件\FileOperationDlg.h

?????文件?????229376??2004-11-09?18:10??讀寫文本文件\hash.exe

?????文件?????????52??2005-02-24?15:30??讀寫文本文件\model.txt

?????文件???????3705??2005-02-24?11:27??讀寫文本文件\ReadMe.txt

?????文件???????1078??2005-02-24?11:27??讀寫文本文件\res\FileOperation.ico

?????文件????????405??2005-02-24?11:27??讀寫文本文件\res\FileOperation.rc2

?????文件????????921??2005-02-24?11:34??讀寫文本文件\resource.h

?????文件????????215??2005-02-24?11:27??讀寫文本文件\StdAfx.cpp

?????文件???????1054??2005-02-24?11:27??讀寫文本文件\StdAfx.h

?????目錄??????????0??2009-04-04?13:32??讀寫文本文件\res

?????目錄??????????0??2009-04-04?13:32??讀寫文本文件

-----------?---------??----------?-----??----

???????????????411944????????????????????22


評論

共有 條評論

相關(guān)資源