代码搜索:CFileException

找到约 161 项符合「CFileException」的源代码

代码结果 161
www.eeworm.com/read/170054/9821982

cpp breaksideproject.cpp

// Curve.h: interface for the CCurve class. // Copyright 济南路通科技开发有限责任公司 // mailto: lutong_jn@sina.com //=====================================================================================
www.eeworm.com/read/164252/10121031

txt readme.txt

Zip and unzip in a MFC way. Gilles Vollant did a great job writing zip.c and unzip.c (IO on .zip files using zlib), which are distributed with the zlib library. However using them in a program is
www.eeworm.com/read/425896/10311106

cpp win32file.cpp

// Win32File.cpp: implementation of the CWin32File class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Win32File.h" #ifdef _DEBUG #
www.eeworm.com/read/354339/10363249

cs cfile.cs

using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Diagnostics; namespace FTAlgorithm.General { /// /// 获取当前进程运行的工作路径名的类
www.eeworm.com/read/421635/10722023

cpp vc0907.cpp

// Example 9.7: 编写一个用于文件拷贝的程序 #include #include void main() { char SourceName[81]; char DestinName[81]; cout > SourceName; cout
www.eeworm.com/read/350458/10741980

txt cfile.txt

文件操作的方法 使用Visual C++编程,有如下方法进行文件操作: (1)使用标准C运行库函数,包括fopen、fclose、fseek等。 (2)使用Win16下的文件和目录操作函数,如lopen、lclose、lseek等。不过,在Win32下,这些函数主要是为了和Win16向后兼容。 (3)使用Win32下的文件和目录操作函数,如CreateFile,Cop ...
www.eeworm.com/read/273060/10930070

txt readme.txt

Zip and unzip in a MFC way. Gilles Vollant did a great job writing zip.c and unzip.c (IO on .zip files using zlib), which are distributed with the zlib library. However using them in a program is
www.eeworm.com/read/332276/12765044

txt untitled-02.txt

6.1.1打开、关闭和创建文件 用CFile打开文件有两种方法。第一种方法是构造一个没有初始化的CFIIe对象并调用 CFile:: Open。下面的代码段就利用这种方法打开了一个具有读/写访问权的文件, File. txt。 因为函数第一个参数中没有给出路径名,如果该文件不在当前目录下,Open就会失败。 CFile file; file.open( ...
www.eeworm.com/read/332276/12765096

txt untitled-03.txt

如果文件不能打开, CFile的构造函数会引发一个 CFileException。因此,利用 CFile:: CFile打 开文件的代码通常使用try和catch块来俘获错误: try CFile f。ie(_T(”F。ie.txt”),CFlle::rnodeReadwr。ie); S catch(CFileExceptio
www.eeworm.com/read/332276/12765102

txt untitled-05.txt

UINT nBytesRead= file.Read(buffer, sizeof(buffer》; dwBytaSRSSSifliflg= flBytflSRSSd; 8 未读字节数保存在 dwBytesRemaining中,它的初始值为 CFile:: GetLength返回的文件尺寸。 每次调用Read后,dwBytesRe