c++图书管理系统 include <iostream> #include <iomanip> #include <string> #include <fstream>//输入/输出文件流类 using namespace std const int Maxr=100 //最多的读者 const int Maxb=100 //最多的图书 const int Maxbor=5 //每位读者最多借五本书 //读者类,实现对读者的信息的描述
上传时间: 2013-12-18
上传用户:拔丝土豆
复数运算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) Complex(int a) { Real = a Image = 0 } void print() const friend Complex operator+ ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c ) private: double Real, Image }
标签: Complex double iostream include
上传时间: 2016-06-30
上传用户:wang5829
数据结构 课程 2叉树的遍历 #include "stdafx.h" #include <iostream.h> typedef char elemtype
标签: include elemtype iostream typedef
上传时间: 2013-11-30
上传用户:tb_6877751
//使用gray code的解法 #include <iostream> #include <cmath> using namespace std #define ZERO 0 #define ONE 1 #define ODD 1 #define EVEN 0 #define RIGHT 1 #define LEFT 0 #define MAX 10
标签: include namespace iostream define
上传时间: 2016-12-31
上传用户:luke5347
#include "iostream.h" #include "iomanip.h" #define N 20 //学习样本个数 #define IN 1 //输入层神经元数目 #define HN 8 //隐层神经元数目 #define ON 1 //输出层神经元数目 double P[IN] //单个样本输入数据 double T[ON] //单个样本教师数据 double W[HN][IN] //输入层至隐层权值 double V[ON][HN] //隐层至输出层权值 double X[HN] //隐层的输入 double Y[ON] //输出层的输入 double H[HN] //隐层的输出
标签: define include iostream iomanip
上传时间: 2014-01-01
上传用户:凌云御清风
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 //动量因子
标签: include iostream iomanip stdlib
上传时间: 2017-06-15
上传用户:xinzhch
·详细说明:一个西门子变频器控制代码的生成程序,主要用于DSP控制,除了调试用的iostream.h头文件,没有其他任何头文件,可以方面的运用与各种DSP,也可以移植到windows和linux下。文件列表: ordermake .........\Debug .........\ordermaker.c ..
上传时间: 2013-07-22
上传用户:cxl274287265
一个西门子变频器控制代码的生成程序,主要用于DSP控制,除了调试用的iostream.h头文件,没有其他任何头文件,可以方面的运用与各种DSP,也可以移植到windows和linux下。
上传时间: 2015-04-12
上传用户:磊子226
第一章涵盖了内建的数据型别,语言预先定义好的运算符、标准程序库中那个的vector和string类、条件语句和循环语句、输入和输出用的iostream库。第二章解释函数的设计和使用;第三章涵盖所谓的Standard Template Library;第四章讲述classes机制的设计和使用过程。第五章说明如何扩展classes;第六章的重头戏是class templates 第七章讲述如何使用c++提供的异常处理机制。
标签: 数据
上传时间: 2014-02-20
上传用户:zyt
实习题 [问题描述] 1. 设顺序表中的数据元素递增有序,将插入到顺序表的适当位置上,是该表仍然有序。 [输入] 初始顺序表,插入字符。 [输出] 插入x后线性表的结果 [存储结构] 采用顺序存储结构 [算法的基本思想] 建立一个递增顺序表,插入一个数值并移动元素,使其仍然有序。 程序如下: #include "iostream.h" #include <malloc.h> #define LIST_INTI_SIZE 100//初始空间大小 typedef struct SqList
上传时间: 2014-01-14
上传用户:fhzm5658