代码搜索:CFile
找到约 2,096 项符合「CFile」的源代码
代码结果 2,096
www.eeworm.com/read/276400/10743145
cpp glovar.cpp
#include "stdafx.h"
#include "glovar.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
CString SYS_PATH;
BOOL SYS_DEBUG=TRUE;
int GlastLine=0;
void dm
www.eeworm.com/read/420518/10792075
h fileencrypt.h
#include
class FileEncrypt{
public:
static void DesFile(CFile * fIn,CFile * fOut,char key[16],bool type);//文件加密(解密)函数;
static void HandleFile(CFile * fIn,char key[16],bool type);//文件处
www.eeworm.com/read/420518/10792137
cpp fileencrypt.cpp
#include "FileEncrypt.h"
#include "TripleDes.h"
#include
#include
#include
#include
#include
#include
extern CProgress
www.eeworm.com/read/274725/10856089
cpp ecfiledlg.cpp
// ecfileDlg.cpp : implementation file
//
#include "stdafx.h"
#include "ecfile.h"
#include "ecfileDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FI
www.eeworm.com/read/274220/10881703
txt excel.txt
前言
由于种种需要直接进行读取Excel文件数据,然而在网上Search多次也没有找到好的方法,
一般就通过ODBC或OLE方式进行读取,但这两种方法都具有局限性.(我相信大家都很清楚)。
怎么办呢?没办法了,只好选择最艰难的路了--分析Excel文件格式。
介绍
MS Excel是众所周知的电子表格处理软 ...
www.eeworm.com/read/418205/10958892
txt 13.1 使用 carchive类对文件进行读写操作.txt
13.1 使用 CArchive类对文件进行读写操作
本章首先介绍一种新的读写文件的方式:使用 MFC提供的 CArchive类来实现。 CArchive类没有基
类。我们知道,一个对象一旦被构造,它就存活于内存中了,当其生命周期结束后,该对象就要被
销毁。我们可以利用 CArchive类将对象数据保存到永久设备(例如磁盘文件)上,这样,即使应用程
序关闭,再次重启后,仍可以从磁盘文件 ...
www.eeworm.com/read/418205/10959000
txt 12.5.1 文件的写入.txt
12.5.1 文件的写入
下面,我们在 File程序中利用 CFile类提供的方法来实现文件的写入操作。首先将 CFileView类的
OnFileWrite函数中已有代码注释起来,然后添加如例 12-18所示代码。
例 12-18
void CFileView::OnFileWrite()
CFile file("6.txt" , CFile::modeCreate | C
www.eeworm.com/read/418205/10959020
txt 12.5 mfc对文件操作的支持.txt
12.5 MFC对文件操作的支持
MFC中提供的支持文件操作的基类是 : <mark>CFile</mark>,该类提供了没有缓存的二进制格式的磁盘文件输入输
出功能,通过其派生类能够间接地支持文本文件和内存文件。该类有三种形式的构造函数,其中一
种声明形式如下所示 :
<mark>CFile</mark>( LPCTSTR lpszFileName , UINT nOpenFlags );
可以看到,这种构造形式有两个参数,其中参 ...
www.eeworm.com/read/418205/10959029
txt 12.5.2 文件的读取.txt
12.5.2 文件的读取
下面,我们在 File程序中利用 CFile类提供的方法来实现文件的读取操作。首先将 CFileView类的
OnFileRead函数中已有代码注释起来,然后添加如例 12-19所示代码。
、
例 12-19
void CFileView : :OnFileRead()
CFile file("6.txt".CFile: :modeRead);
www.eeworm.com/read/107818/6961157
cpp bignum.cpp
// $$root$$.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "USuperInt.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance