搜索资源列表
02_1
- 本程序用于词法分析:从DOS界面输入一行的C语句,并以#号结尾(注意必须以这个为结束标志,否则出错),要求输出对应的单词的种类码和该类中的 内码。其中,关键字种类为1,分界符种类为2,算术运算符、关系运算符、常数、标识符分别为-the procedures for lexical analysis : DOS interface input from the C his statement, and in the end, # (attention to the need to put an e
newoula-C
- * 用改进的欧拉方法求解初值问题,其中一阶微分方程未y =f(x,y) * 初始条件为x=x[0]时,y=y[0]. * 输入: f--函数f(x,y)的指针 * x--自变量离散值数组(其中x[0]为初始条件) * y--对应于自变量离散值的函数值数组(其中y[0]为初始条件) * h--计算步长 * n--步数 * 输出: x为说求解的自变量离散值数组 * y为所求解对应于自变量离散值的函数值数组 -* Improved Euler me
c++02--
- 关于C++的一个PPT教程C++语言概述,包括介绍 2.2 基本数据类型和表达式 2.3 数据的输入与输出 2.4 算法的基本控制结构 2.5 自定义数据类型 -on a PPT C C language tutorial overview Introduction 2.2 include basic data types and expressions 2.3 data input and output 2.4 algorithm basic control structu
COBLK_last
- 标准C文件代码中注释识别统计,按照用户预定格式输出到文件中 提供给用户运行程序的方式,程序的所有输入,要求在windows CMD命令行下面进行操作和显示。方括号表示可选参数;大括号表示必选参数,输入的时候不需要键入括号。COBLK [-c] {filename},支持绝对路径,相对路径,如果没有路径,默认为程序所在目录。 每次执行只处理1个文件,即filename只表达出一个文件,不支持多个文件处理。 对可选参数[-c],当使用此参数时,输出文件包含注释块开始行号和注释块内注
lab10
- 美国大学C++课程最后一次作业,完成读取csv文件,导入学生成绩,进行拍算-Lab Ten Gradebook Due Date Wednesday, May 11, 2011 by 1:00 pm Objectives Gain experience parsing CSV files. Practice working with file input. Practice working with one and two dimensional arra
Write-and-read-text.rar
- c++标准的输入输出,特别是写入文本时的字符串类型或已经计算过程中产生的整型类似数据的文本写入,c++ standard input and output, especially when writing text string type has been calculated integer similar data generated in the process to write text
StatisticsCharacters
- I/O流操作 任务目标: 练习C++的文件数据处理方法,学习类ifstream(从文件输入)、ofstream(向文件输出)和fstream(从文件输入,输出)的定义与用法。 任务描述: 编写一个程序,用统计一个源代码文件(以你所写的代码文件为对象)中英文字符串的种类与个数并输出到文件phases.dat,记录格式如下: Type number main 1-I/O stream operations mission object
GetHourdata
- 采用C++标准库输入输出流进行文件读写,按指定格式对文件数据进行分割保存(C++ standard library input and output stream for file reading and writing, according to the specified format for file data segmentation and preservation)