Welcome![Sign In][Sign Up]
Location:
Search - fstream.h

Search list

[Process-Threadprocess

Description: #include <string.h> #include <fstream.h> #include <stdio.h> #include <stdlib.h> #define FINISH 0 //完成状态 #define RUNNING 1 //运行状态 #define READY 2 //就绪状态 #define WAITIO 3 //io等待状态 #define WAITREAD 4//读写等待状态 #define WAITOUT 5//中断等待状态
Platform: | Size: 2397 | Author: 鹰隼 | Hits:

[ELanguage词法分析程序

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/*** ***** lexical analysis procedure *** *****/ # includelt; Iostream.hgt; # Includelt; Fstream.hgt; # Includelt; Math.hgt; Int cc = 0
Platform: | Size: 8041 | Author: 白天 | Hits:

[ELanguagecifafenxiqi

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/*** ***** lexical analysis procedure *** *****/ # includelt; Iostream.hgt; # Includelt; Fstream.hgt; # Includelt; Math.hgt; Int cc = 0
Platform: | Size: 1576 | Author: 白天 | Hits:

[ELanguageb

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
Platform: | Size: 8192 | Author: 白天 | Hits:

[ELanguagec

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
Platform: | Size: 8192 | Author: 白天 | Hits:

[ELanguagecd

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
Platform: | Size: 8192 | Author: 白天 | Hits:

[ELanguagecde

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
Platform: | Size: 8192 | Author: 白天 | Hits:

[ELanguagecdef

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
Platform: | Size: 8192 | Author: 白天 | Hits:

[ELanguagecifafenxiqi

Description: /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
Platform: | Size: 1024 | Author: 白天 | Hits:

[File Operatefstreamsrc

Description: 《使用 <fstream> 类进行文件的 I/O 处理》 传统的文件 I/O 库如 Unix 的 <io.h> 和 <stdio.h> ,由于其程序接口的原因,在很大程度上强制程序员进行某些处理,缺乏类型安全和国际化支持。C++ 的 <fstream> 库则在文件的 I/O 方面提供了一个增强的、面向对象的、具有国际化意识的库。该程序介绍如何使用这个库进行文件的 I/O 处理并利用它来编写易于跨平台的代码。 大多数 C++ 程序员都熟悉不止一个文件 I/O 库。首先是传统的 Unix 风格的库,它由一些低级函数如 read() 和 open()组成。其次是 ANSI C 的 <stdio.h> 库,它包含 fopen() 和 fread()等函数。其它的还有一些具备所有权的库或框架,比如 MFC,它有很多自己的文件处理类。   这些库一般都很难跨平台使用。更糟的是,上述提到的 C 库由于其程序接口的原因,在很大程度上强制程序员进行某些处理,而且缺乏类型安全支持。   标准 C++ 提供提供了一个增强的、面向对象的、具有国际化意识的 <fstream> 库。这个库包含一系列派生于标准 ios_base 和 ios 类的类模板。因此, <fstream> 提供了高级的自动控制机制和健壮性。-"use
Platform: | Size: 919552 | Author: wwwwppp | Hits:

[Process-Threadprocess

Description: #include <string.h> #include <fstream.h> #include <stdio.h> #include <stdlib.h> #define FINISH 0 //完成状态 #define RUNNING 1 //运行状态 #define READY 2 //就绪状态 #define WAITIO 3 //io等待状态 #define WAITREAD 4//读写等待状态 #define WAITOUT 5//中断等待状态 -# Include <string.h># Include <fstream.h># Include <stdio.h># Include <stdlib.h># Define FINISH 0// completion status# Define RUNNING 1// operation status# define READY 2// ready status# define WAITIO 3// io wait state# define WAITREAD 4// read and write wait state# define WAITOUT 5// interrupt wait state
Platform: | Size: 2048 | Author: 鹰隼 | Hits:

[Windows DevelopPrimer

Description: C++ Primer的随书源代码,拉 基 源 码 -#include <iostream.h> #include <fstream.h> #include <string>
Platform: | Size: 356352 | Author: 周椿尧 | Hits:

[Mathimatics-Numerical algorithmsBP

Description: BP神经网络程序,C语言源代码 如下: #include "iostream.h" #include "iomanip.h" #include "stdlib.h" #include "math.h" #include "stdio.h" #include "time.h" #include "fstream.h" #define N 120 //学习样本个数 #define IN 3 //输入层神经元数目 #define HN 2 //隐层神经元数目 #define ON 2 //输出层神经元数目 #define Z 20000 //旧权值保存-》每次study的权值都保存下来 double P[IN] //单个样本输入数据 double T[ON] //单个样本教师数据 double U11[IN][HN] //输入层至第一隐层权值 double V[HN][ON] //隐层至输出层权值 double X1[HN] //第一隐层的输入 double Y[ON] //输出层的输入 double H1[HN] //第一隐层的输出 double O[ON] //输出层的输出 double YU_HN1[HN] //第一隐层的阈值 double YU_ON[ON] //输出层的阈值 double err_m[N] //第m个样本的总误差 double a //学习效率 double alpha //动量因子-BP net
Platform: | Size: 3072 | Author: 梅汉文 | Hits:

[Data structsjiayouwenti

Description: 用贪心算法实现加油问题的代码,而且是以C++实现的。-this is a C++!include<iostream.h> #include<fstream.h> ifstream infile("E:\\jiayou.in") ofstream outfile("E:\\jiaou.out") void jiayou(int*x,int n,int k){
Platform: | Size: 485376 | Author: 龙政 | Hits:

[Other resourcec-P-P-lexical-analysis

Description: c++词法分析很简单的代码#include<iostream.h> #include<fstream.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<conio.h> #include<process.h> /*头文件*/ -c++ lexical analysis is very simple code# include <iostream.h># Include <fstream.h># Include <stdlib.h># Include <stdio.h># Include <string.h># Include <conio.h># Include <process.h> /* Header file* /
Platform: | Size: 3072 | Author: 李亚茹 | Hits:

[Education soft systemStudent-management-system

Description: 学生管理系统 程序构思 1函数声明是#include<iostream.h> #include<string.h> #include<fstream.h> #include<stdlib.h>用来调用exit() #include<iomanip.h>输入输出控制 2建立一个“student类”,学生资料包括学生姓名,课程成绩,名次,学号 3friend void main():允许了类外访问类中的任意成员 4主函数一:通过“*”形成功能界面0—6, 5主函数二:构建指针对象,可存入学生数据,用ofstream*file负责对文件进行插入操作,同时使用flag判断输入是否有效,无效的话输出提示语 6主函数三:通过switch实现多功能 7主函数四:输入,添加功能,通过do-while,if实现 ,并附加提示语(y/n) 8主函数五:修改功能用for(其中记录学生位置),if实现 9主函数六:按姓名查找功能do-while,for,strmcp()来实现 10主函数七:输出所有学生成绩功能,通过对齐函数setw()实现 11主函数八:退出,用exit()实现 -Student management system
Platform: | Size: 13312 | Author: zhnagxuedong | Hits:

[CSharpwenjianliu

Description: 掌握文件流的概念,能够根据具体情况定义ifstream.h、ofstream.h、fstream.h类的对象,掌握对文件的读写。-To grasp the concept of file stream, according to the specific circumstances of the definition ifstream.h ofstream.h, fstream.h like object master file read and write.
Platform: | Size: 1024 | Author: yfz | Hits:

[CSharpclass

Description: 人财政支出管理,因为我觉得这个程序非常实用,编完了以后自己也可以使用。按照原来的格式,是普通的结构化程序设计,而且是面向过程的,程序中没有使用类或对象,结构比较清晰。它使用了四个头文件都是来源于C语言的标准库函数,分别是:1 #include<iostream.h> 2 #include<fstream.h> 3 #include<conio.h> 4 #include<iomanip.h>。第一个控制文件输入输出,是流类库中最常用的头文件。它包含了”ios.h” ”stream.h ”istream.h” 和”osream.h”。 而输入输出文件流部分在#include<fstream.h>中说明。#include<conio.h>#include<iomanip.h>诗歌与设置宽度有关的头文件,对应的函数总有setw()。-Expenditure management people, because I think this program is very useful, since you can also use your own knitting finished. According to the original format, is a common structured programming, and is process-oriented, the program does not use a class or object, the structure is relatively clear. It uses four header files are derived from the C language standard library functions, namely: 1# include <iostream.h> 2# include <fstream.h> 3# include <conio.h> 4# include <iomanip. h>. The first control file input and output, is the most commonly used streaming library header files. It contains "ios.h" "stream.h" istream.h "and" osream.h ". While input and output file stream sections describe in# include <fstream.h> in.# Include <conio.h># include <iomanip.h> poetry and set the width of the head of the relevant documents, the corresponding function is always setw ().
Platform: | Size: 2048 | Author: jessica | Hits:

[OtherHuffman-codec

Description: 哈夫曼编译码器#include<iostream.h>//该程序实验哈夫曼树的建立、编码、译码三个基本功能 #include<stdio.h> #include<stdlib.h> #include<string.h> #include<fstream.h> typedef struct{ //结构体-Huffman codec
Platform: | Size: 7168 | Author: 窦妮婉 | Hits:

[File OperateFilemon-

Description: 系统监控,文件操作等,源代码 例子 模拟器等-file monitor,c++ #include stdlib.h #include string.h #include fstream.h #include time.h #include dos.h
Platform: | Size: 546816 | Author: haha | Hits:
« 12 »

CodeBus www.codebus.net