Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - cfile
Search - cfile - List
一个文件分割的代码,从中可以学习CFile类的使用方法
Date : 2008-10-13 Size : 33.3kb User : 李飞广

使用CFile类实现对文件的操作-use CFile class to achieve the operation of the document
Date : 2025-12-31 Size : 4kb User : 杨威利

文件读写的例子,初学对文件操作的朋友可以看看.程序是用CFILE类.-document literacy example, when a document to the operation of friends can see. Procedures used CFILEs category.
Date : 2025-12-31 Size : 39kb User : 葡萄

本程序演示const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-demonstration of the procedures const char* const char* distinction. C language of the document to read and write support, FILE pointer; Text and binary files distinction. Text mode is used to read and write files in binary mode and document literacy matters to the attention. C of the document to read and write support, and ofstream ifstream usage. Win32 SDK documentation to support literacy, CreateFile function, WriteFile function, ReadFile function; MFC right document literacy support CFile CFileDialog class and the use of file filters set. Extracts documents and the registry of literacy and associated knowledge point.
Date : 2025-12-31 Size : 38kb User : qiyunping

内容摘要: 1. 使用CFile类进行文件读写、删除、改名及访问文件属性 2. 使用CStdioFile类操作文本文件 3.  使用CFileFind类查找文件 4.了解windows API的文件操作 文件中含有文件操作课件说明及具体实例源码,适用于较初学VC人员.-Abstract : 1. CFile use category for document literacy, delete, accessing files and renamed attributes 2. CStdioFile class operation using text files 3.
Date : 2025-12-31 Size : 69kb User : cobra

DL : 1
const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-const char* and char* const distinction. C language of the document to read and write support, FILE pointer text file and binary file distinction. Used to read and write text files and read and write files in binary mode Notes. C++ Of documents to read and write support, ofstream and ifstream usage. Win32 SDK to read and write support for the document, CreateFile function, WriteFile function, ReadFile function to use MFC support reading and writing of the document, CFile Class CFileDialog and the use of paper filter settings. win.ini file and registry read and write methods and related knowledge points.
Date : 2025-12-31 Size : 36kb User : asfsafd

CFile类是MFC最结冰那的文件操作类型,它能够用于对文件的操作。通常使用CFile类的成员函数打开一个文件-CFile is the most ice MFC that type of file operations, it can be used to document the operation. Normally use CFile class member function to open a file
Date : 2025-12-31 Size : 194kb User : tce

Serializer CFile 保存文件 的使用 环境: VC6.0 -Serializer CFile the use of the environment to save the file: VC6.0
Date : 2025-12-31 Size : 24kb User : 未红兵

打开一个TXT文件并显示在EDIT控件中 步骤: 1.新建一个基于对话框的工程,名称为ReadFile 2.在界面上添加一个按钮(IDC_BUTTON1)和一个文本编辑(IDC_EDIT1) IDC_EDIT1的属性:多行、可下拉滚动条. 3.编辑按钮触发事件(void CReadFileDlg::OnButton1()) void CReadFileDlg::OnButton1() { // TODO: Add your control notification handler code here CString sFileFilter="*.hex|*.hex" CString sFileName CFileDialog fDlg(true,NULL,NULL,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,sFileFilter,NULL) fDlg.DoModal() sFileName=fDlg.GetFileName() if(sFileName!="") { CFile file(sFileName,CFile::modeRead) int nFileLength=file.GetLength() char *buffer HGLOBAL hgl=::GlobalAlloc(GMEM_MOVEABLE,nFileLength+1) buffer=(char *)::GlobalLock(hgl) file.Read(buffer,nFileLength) SetDlgItemText(IDC_EDIT1,buffer) ::GlobalUnlock(hgl) ::GlobalFree(hgl) } UpdateData(false) } -Open a TXT file and displayed in the EDIT control steps: 1. Create a new dialog-based project, known as the ReadFile2. In the interface to add a button (IDC_BUTTON1) and a text editor (IDC_EDIT1) IDC_EDIT1 properties: multi-line, can be drop-down scroll bar .3. Edit button trigger events (void CReadFileDlg:: OnButton1 ()) void CReadFileDlg:: OnButton1 () (//TODO: Add your control notification handler code here CString sFileFilter =*. hex |*. hex CString sFileName CFileDialog fDlg (true, NULL, NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, sFileFilter, NULL) fDlg.DoModal () sFileName = fDlg.GetFileName () if (sFileName! =) (CFile file (sFileName, CFile:: modeRead) int nFileLength = file.GetLength () char* buffer HGLOBAL hgl =:: GlobalAlloc (GMEM_MOVEABLE, nFileLength+ 1) buffer = (char*):: GlobalLock (hgl) file.Read (buffer, nFileLength) SetDlgItemText (IDC_EDIT1, buffer):: GlobalUnlock (hgl):: GlobalFree (hgl)) UpdateData (false))
Date : 2025-12-31 Size : 1.8mb User : 这程子

一个文件分割的代码,从中可以学习CFile类的使用方法-Split a file code, which can learn to use the CFile Class
Date : 2025-12-31 Size : 41kb User : 李飞广

VC++ CFile use sample code for reference -VC++ CFile use sample code for reference
Date : 2025-12-31 Size : 85kb User : 黃哲韻

重载过的cfile 读取大于2G的文件-Heavy-duty off CFile read a document larger than 2G
Date : 2025-12-31 Size : 1kb User : yunjianzhang

CFile和CStdioFile的文件读写使用方法-CFile and CStdioFile the use of documents to read and write
Date : 2025-12-31 Size : 1kb User : viviChow

建立文件和文件读写,程序说明了文件操作编程的基本方法,显示界面上附操作说明。-Set up files and read and write file operations procedures describe the basic programming methods, shows that the interface is attached instructions.
Date : 2025-12-31 Size : 765kb User : nick

This Class can manager over 2G byte size file, maybe you can used this class replace VC++ CFile class .
Date : 2025-12-31 Size : 94kb User : yuan_ym

linux c code linux c code linux c code-linux c code linux c codelinux c codelinux c codelinux c codelinux c code
Date : 2025-12-31 Size : 842kb User : wurongfu

一个对文件进行操作的类模块,相当方便-An operation file a class module, very convenient ...
Date : 2025-12-31 Size : 3kb User : ducky

将使用CFile类的GetStatus函数获取某一文件的相关属性。-Will use the CFile class GetStatus function to get the relevant attributes of a file.
Date : 2025-12-31 Size : 48kb User : 张钰

主要用于读写uniclde型式的配置文件,注意:配置文件的最后要有一个空行,否则读写不成功。-Mainly used for reading and writing uniclde type of configuration file, pay attention: the configuration file of the last to have a blank line, or read and write was not successful.
Date : 2025-12-31 Size : 3kb User : liuliru

MFC CFile类的应用 二进制、文本文件的读写-MFC CFile class application binary, to read and write text files
Date : 2025-12-31 Size : 41kb User : 王夕锋
« 12 3 4 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.