Location:
Search - writefile
Search list
Description: 使用WriteFile 块读写数据-used to read and write data blocks
Platform: |
Size: 2096 |
Author: 林君墨 |
Hits:
Description: 使用WriteFile 块读写数据-used to read and write data blocks
Platform: |
Size: 6490 |
Author: 郭伟 |
Hits:
Description: Win32 API 提供了OpenFile 和 WriteFile 函数, 可以对二进制的文件进行读/写。 这两个函数使读/写格式化的文件更加灵活。 这里演示了操作大量格式化数组的一种技巧, 一次完成, 无须一个一个地操作。
Platform: |
Size: 4558 |
Author: carson |
Hits:
Description: 使用WriteFile 块读写数据-used to read and write data blocks
Platform: |
Size: 2048 |
Author: 林君墨 |
Hits:
Description: 使用WriteFile 块读写数据-used to read and write data blocks
Platform: |
Size: 6144 |
Author: 郭伟 |
Hits:
Description: 这是一个文件操作。也非常简单。有意的网络爱好者,可以打开看看。。。。。哈哈,希望有意者能和我聊系-This is a file manipulation. Very simple. Fans interested in the network, can open look. . . . . Haha, hope those who can chat line and I
Platform: |
Size: 1024 |
Author: 李志宾 |
Hits:
Description: USB驱动协议的简化版。如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称,获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-USB drives a simplified version of the agreement. If you want to open a channel USB, you must first know the GUID USB devices Road names and management, acquisition handle can use it after ReadFile/WriteFile write!
Platform: |
Size: 2048 |
Author: 郑卓超 |
Hits:
Description: 包含8个文件:type.h, borrow.c, createfile.c, MainMenuControl.C, reader.c, readfile.c, search.c, writefile.c-contains eight documents : type.h, borrow.c, createfile.c, MainMenuControl.C, reader.c, readfile.c, search.c, writefile.c
Platform: |
Size: 5120 |
Author: 小镇青年 |
Hits:
Description: 本程序演示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.
Platform: |
Size: 38912 |
Author: qiyunping |
Hits:
Description: VC++中使用内存映射文件处理大文件,文件操作是应用程序最为基本的功能之一,Win32 API 和MFC 均提供有支持
文件处理的函数和类,常用的有Win32 API 的CreateFile()、WriteFile()、
ReadFile()和MFC 提供的CFile 类等-VC use memory-mapped file handling large files, file manipulation application is the most basic function, MFC and Win32 API is available to support the document processing functions and classes, used the Win32 API CreateFile (), WriteFile (), ReadFile () and the MFC CFile type
Platform: |
Size: 103424 |
Author: victor |
Hits:
Description: 如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称,
获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-If you want to open a USB pipeline You must first know the GUID of USB devices and management Road name, Access handles can use it after ReadFile/WriteFile for literacy!
Platform: |
Size: 2048 |
Author: 副类 |
Hits:
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++ 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: 53248 |
Author: 快乐 |
Hits:
Description: This program is a simple named pipe client that demonstrates the API calls needed
to successfully develop a basic named pipe client application. When this application
successfully connects to a named pipe, the message "This is a test" is written
to the server.
There are four basic steps needed to implement a client:
1. Wait for a Named Pipe instance to become available using the WaitNamedPipe()
API function.
2. Connect to the Named Pipe using the CreateFile() API function.
3. Send data to or receive data from the server using the WriteFile() and
ReadFile() API functions.
4. Close the Named Pipe session using the CloseHandle() API functions.
Platform: |
Size: 3072 |
Author: sean zhang |
Hits:
Description: 一个用vc开发的小程序,写文件,采用面向对象的设计思想,还是不错的
Platform: |
Size: 37888 |
Author: 高修成 |
Hits:
Description: 实现串行通讯的相关API函数
API函数不仅提供了打开和读写通讯端口的操作方法,还提供了名目繁多的函数以支持对串行通讯的各种操作。
函数名 作用
CreateFile 打开串口
GetCommState 检测串口设置
SetCommState 设置串口
BuilderCommDCB 用字符串中的值来填充设备控制块
GetCommTimeouts 检测通信超时设置
SetCommTimeouts 设置通信超时参数
SetCommMask 设定被监控事件
WaitCommEvent 等待被监控事件发生
WaitForMultipleObjects 等待多个被监测对象的结果
WriteFile 发送数据
ReadFile 接收数据
GetOverlappedResult 返回最后重叠(异步)操作结果
PurgeComm 清空串口缓冲区,退出所有相关操作
ClearCommError 更新串口状态结构体,并清除所有串口硬件错误
CloseHandle 关闭串行口
Platform: |
Size: 5120 |
Author: liupengty |
Hits:
Description: 用三种方式进行文件缓存的操作,并通过比较平均时间来了解文件缓存的工作原理,涉及的主要API函数有CreateFile,ReadFile和WriteFile,GetOverlappedResult函数-Three way file cache operation, and by comparing the average time to understand the file cache
Platform: |
Size: 2063360 |
Author: 郭浩 |
Hits:
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++ 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: 36864 |
Author: asfsafd |
Hits:
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++ 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: jiangyang520 |
Hits:
Description: 程序的最大缺陷:
Windows把硬件驱动的接口都进行了抽象和标准化,串口也不例外,大部分的设备都可以通过文件操作API进行存储控制,如:CreateFile、ReadFile、WriteFile等,其实很简单。网上有个SerialPort的类写得还不错,我就直接拿来用了,只做了小小的修改以满足我的要求。原本的类一次只能收发一个Byte,根据需要我改成了512 Byte,需要重点提出的是,当收发多字节数据时,数据的正确性和完整性更需要自己保证,因为串口协议标准只是定义在物理层和数据链路层,打个比方说,如果一次发送512 Byte,收到不一定是正确的512 Byte,所以自己要进行相关校验保证正确性,也可能不是一次就会完整的收到512 Byte,而是分多次收完所有数据,这时就要我们定义相关结构保证数据收发完整性。这些细节都是跟串口驱动的实现有关,读者感兴趣的话,可以查看相关文档。在这个应用程序中完全没有对这个问题进行防护处理,鉴于一次收发数据量小(512 Byte),并且只是自己的试验品,所以写得并不严谨,把数据收发理想为一次性正确收发,希望各位都能注意了。
Platform: |
Size: 38912 |
Author: Lee |
Hits:
Description: 文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用-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
Platform: |
Size: 286720 |
Author: 周游 |
Hits: