Welcome![Sign In][Sign Up]
Location:
Search - cfile

Search list

[File OperateCFilereadandwrite

Description: 很不错的读写文件的源代码,我找了好久才找到的,希望能够对你有所帮助!-Very good document to read and write the source code, I am looking for a long time to find, and hope to be able to help you!
Platform: | Size: 1024 | Author: 许明 | Hits:

[File OperateChapter9

Description: 一个CFile学习例子,初学是很有用的,我才开始试试,现在学来大家共享受-A CFile learning examples, learning is useful, I began to try, and now everyone has learned to enjoy
Platform: | Size: 54272 | Author: | Hits:

[Button controlExtract

Description: 实现了文件的提取,分割,合并等功能。程序中多是CFile类的操作-The realization of the document extraction, partition, merge functions. Procedures are operating CFile Class
Platform: | Size: 29696 | Author: gengpeng | Hits:

[Communication-Mobile3_22

Description: this ia a cppp code file including SIFT and other algrithms based in opcv
Platform: | Size: 11596800 | Author: luwei | Hits:

[VC/MFCVC++MFC

Description: WORD版的MFC简明教程,共32页内容,其中有许多MFC源程序。-WORD version of the MFC Concise Guide, a total of 32 elements, many of which MFC source code.
Platform: | Size: 54272 | Author: 钝刀 | Hits:

[VC/MFClesson12

Description: 孙鑫老师VC视频第十二课代码:const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-SUN Xin video twelfth class teacher VC code: 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.
Platform: | Size: 38912 | Author: shanyingying | Hits:

[CA authDESProcess

Description: DESProcess FILE *mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } if((cfp=fopen(cfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff -DESProcess FILE*mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } if((cfp=fopen(cfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff
Platform: | Size: 5120 | Author: wxh | Hits:

[Documentsvc21487899244

Description: 主要源码: void CFDlg::OnChangeEdit1() { UpdateData() m_strExt.MakeUpper() m_list.ResetContent() if(m_strExt.GetLength()==0) return CStdioFile sf if(sf.Open("FileExt.txt",Cfile::modeRead)) { CString strTemp,strOut while(sf.ReadString(strTemp)) { if(strTemp.Left(m_strExt.GetLength()) ==m_strExt) { m_list.AddString(strTemp) } } } sf.Close() m_list.SetCurSel(0) this->OnSelchangeList2() } void CFDlg::OnSelchangeList2() { CString strTemp,strExt m_list.GetText(m_list.GetCurSel(),strTemp) strExt=strTemp.Left(strTemp.FindOneOf(" ")) //MessageBox(strExt) CString strFileName ="eee."+strExt //MessageBox(strFileName) SHFILEINFO shfi memset(&shfi,0,sizeof(shfi)) //或者ZeroMemory(&shfi,sizeof(shfi)) ::SHGetFileInfo(strFileName, FILE_ATTRIBUTE_NORMAL, &shfi, sizeof(shfi), SHGFI_ICON|SHGFI_USEFILEATTRIBUTES) m_icon.SetIcon(shfi.hIcon) }-Main source: void CFDlg:: OnChangeEdit1 () (UpdateData () m_strExt.MakeUpper () m_list.ResetContent () if (m_strExt.GetLength () == 0) return CStdioFile sf if (sf.Open (FileExt.txt, Cfile :: modeRead)) (CString strTemp, strOut while (sf.ReadString (strTemp)) (if (strTemp.Left (m_strExt.GetLength ()) == m_strExt) (m_list.AddString (strTemp)))) sf.Close ( ) m_list.SetCurSel (0) this-
Platform: | Size: 40960 | Author: HUGH RENNY | Hits:

[File OperateMFileAttri

Description: 本代码通过一个循环语句调用CFile类的setStatus方法实现批量修改文件属性-The code through a loop to call setStatus method CFile class batch modify file attributes
Platform: | Size: 15360 | Author: yeah | Hits:

[File OperateSaveEditValue

Description: 使用CFile和CArchive来存储与加载变量(没有使用序列化Serialize)!Enjoy it!谢谢~-Use CFile and CArchive to store and load variables (do not use serialization Serialize)! Enjoy it! Thank you ~
Platform: | Size: 25600 | Author: 刘同兴 | Hits:

[AI-NN-PRwangxiaoping-resource

Description: 王小平《遗传算法——理论、应用与软件实现》随书光盘,内容有: \GA 本书中所附源程序C或C++代码文件及其可执行文件 Scs.cpp 基本分类算法源程序,输入数据文件cfile.txt,efile.txt,gfile.txt,pfile.txt,rfile.txt,tfile.txt Sga.c 基本遗传算法源程序, 输入数据文件input,输出文件output A_life.c 基于遗传算法的人工生命模拟源程序, 输入数据文件world GA_nn.c 基于遗传算法优化神经网络结构源程序,输入数据文件sample Patmat.c 基于遗传算法提取基元图形源程序 \Sources 遗传算法相关自由软件及代码。-Wang Xiaoping,
Platform: | Size: 4516864 | Author: flying | Hits:

[File OperateTest

Description: 读取文件时使用类序列化技术 保存文件时,使用了类序列化,和CFile文件操作技术-Read the file type sequence using technology to save the file, use the type of serialization, and CFile file operations technology
Platform: | Size: 43008 | Author: seker | Hits:

[File OperatefileSend

Description: 读取文件发送到局域网中,winsock,CFile-Read the document sent to the local area network, winsock, CFile
Platform: | Size: 296960 | Author: 吴东明 | Hits:

[File Operatefile

Description: 在vc下,经常要读写文件,有些类好用但有限制,比如CFile用于mfc,这个代码不受任何限制-In vc, the often have to read and write documents, and some easy to use but restricted category, such as CFile for mfc, this code without any restrictions
Platform: | Size: 16384 | Author: luo hao | Hits:

[Windows DevelopFileReadWrite

Description: 利用CFILE进行文件读写的程序-CFILE use the procedures read and write files
Platform: | Size: 40960 | Author: 故也随风 | Hits:

[Windows Developlesson12

Description: const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-const char* and char* const difference. C language of the document to read and write support, FILE pointer text file and binary file distinction. With text to read and write documents and to the way reading and writing binary files note. C++ Of documents to read and write support, ofstream and ifstream usage. Win32 SDK support for the document to read and write, CreateFile function, WriteFile function, ReadFile function to use MFC support for the document to read and write, CFile Class CFileDialog and the use of paper filter settings. win.ini to read and write files and registry and associated knowledge points.
Platform: | Size: 54272 | Author: gubin | Hits:

[Windows DevelopShowImage

Description: 使用Cfile和CfileDialog及atl的image类显示输出图像. 作业题-Use CFile and CfileDialog and atl show the output of image-type images. Operating title
Platform: | Size: 7483392 | Author: 陈昕 | Hits:

[Multimedia programcopyfile

Description: 本地文件复制,实现功能相当于粘贴,复制操作。利用CFile类,先读出源文件内存,再新建一个文件并将内存中的内容写入该文件,达到复制目的-Local file copy, paste to achieve the functional equivalent, copy operation. Use CFile class, the first memory to read out the source file, and then create a new file and the contents of memory to write the file to copy the purpose of
Platform: | Size: 1901568 | Author: Todd | Hits:

[Windows CEFileExam

Description: WinCE下evc实现文件的写入和读取,可以装有evc软件的XP机器上运行-EVC realize under WinCE file write and read, can be equipped with EVC software running on XP machines
Platform: | Size: 1514496 | Author: 陈玥 | Hits:

[File OperateCode

Description: 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++ on the paper 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.
Platform: | Size: 37888 | Author: 辛光明 | Hits:
« 1 2 ... 4 5 6 7 8 910 11 12 13 »

CodeBus www.codebus.net