代码搜索:CFile
找到约 2,096 项符合「CFile」的源代码
代码结果 2,096
www.eeworm.com/read/279489/10434459
h cfile.h
#ifndef _CFILE_H
#define _CFILE_H
#include
using namespace std;
class CFile
{
public:
CFile();//************************************文件类 构造函数
~CFile();//********************
www.eeworm.com/read/423973/10511087
htm cfile.htm
/*
$(PROJECT_NAME).C
Author:
Last Updated: 2006-03-23
This framework is generated by EasySYS 0.3.0
This template file is copying from QuickSYS 0.3.0 written by Chunhua
www.eeworm.com/read/352542/10542310
txt cfile.txt
6
100
0.5
0.10
0.075
0.01
0.0
0.25
0.125
0.25
0.125
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:
www.eeworm.com/read/421856/10692372
txt cfile.txt
6
100
0.5
0.10
0.075
0.01
0.0
0.25
0.125
0.25
0.125
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:
www.eeworm.com/read/350458/10741976
txt cfile flush().txt
其实<mark>CFile</mark>封装的是API,ReadFile和WriteFile
调用这两个API时是不会立即进行磁盘操作的,除非你在CreateFile时使用了FILE_FLAG_NO_BUFFERING。
一般情况下,WriteFile会先把数据写到内存的缓冲中,然后定时定量,按需写入硬盘。由于硬盘的设计原理,一次性写入硬盘的字节数必须等于一个磁道在一个扇区内 ...
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/349916/10783584
txt cfile.txt
6
100
0.5
0.10
0.075
0.01
0.0
0.25
0.125
0.25
0.125
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:
www.eeworm.com/read/272751/10945959
cpp cfile.cpp
/*********************************************************************
* 和文件server进程通讯传文件
*********************************************************************/
#include "stdafx.h"
#include
www.eeworm.com/read/270692/11029504
txt cfile.txt
6
100
0.5
0.10
0.075
0.01
0.0
0.25
0.125
0.25
0.125
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:
www.eeworm.com/read/469718/6925750
txt cfile.txt
6
100
0.5
0.10
0.075
0.01
0.0
0.25
0.125
0.25
0.125
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR:0 10
RRRRRR:1 10
RRRRRR: