搜索结果
找到约 36 项符合
iostream 的查询结果
按分类筛选
教育系统应用 c++图书管理系统 include <iostream> #include <iomanip> #include <string> #include <
c++图书管理系统
include <iostream>
#include <iomanip>
#include <string>
#include <fstream>//输入/输出文件流类
using namespace std
const int Maxr=100 //最多的读者
const int Maxb=100 //最多的图书
const int Maxbor=5 //每位读者最多借五本书
//读者类,实现对读者的信息的描述 ...
书籍源码 复数运算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) C
复数运算#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 ...
数据结构 数据结构 课程 2叉树的遍历 #include "stdafx.h" #include <iostream.h> typedef char elemtype
数据结构 课程 2叉树的遍历 #include "stdafx.h"
#include <iostream.h>
typedef char elemtype
其他 //使用gray code的解法 #include <iostream> #include <cmath> using namespace std #define
//使用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 "iostream.h" #include "iomanip.h" #define N 20 //学习样本个数 #define IN 1 //输入层神经元数目 #define
#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] //隐层至输出层权值 ...
数值算法/人工智能 BP神经网络程序,C语言源代码 如下: #include "iostream.h" #include "iomanip.h" #include "stdlib.h" #include "ma
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 //输出层神经元数目
#def ...
电机控制 西门子变频器控制代码的生成程序
·详细说明:一个西门子变频器控制代码的生成程序,主要用于DSP控制,除了调试用的iostream.h头文件,没有其他任何头文件,可以方面的运用与各种DSP,也可以移植到windows和linux下。文件列表: &nbsp;&nbsp;ordermake&nbsp;&nbsp;.........\Debug&nbsp;&nbsp;.........\ordermaker.c&nbsp;&nbsp;.. ...
DSP编程 一个西门子变频器控制代码的生成程序
一个西门子变频器控制代码的生成程序,主要用于DSP控制,除了调试用的iostream.h头文件,没有其他任何头文件,可以方面的运用与各种DSP,也可以移植到windows和linux下。
VC书籍 第一章涵盖了内建的数据型别
第一章涵盖了内建的数据型别,语言预先定义好的运算符、标准程序库中那个的vector和string类、条件语句和循环语句、输入和输出用的iostream库。第二章解释函数的设计和使用;第三章涵盖所谓的Standard Template Library;第四章讲述classes机制的设计和使用过程。第五章说明如何扩展classes;第六章的重头戏是class templat ...
软件设计/软件工程 实习题 [问题描述] 1. 设顺序表中的数据元素递增有序
实习题
[问题描述]
1. 设顺序表中的数据元素递增有序,将插入到顺序表的适当位置上,是该表仍然有序。
[输入]
初始顺序表,插入字符。
[输出]
插入x后线性表的结果
[存储结构]
采用顺序存储结构
[算法的基本思想]
建立一个递增顺序表,插入一个数值并移动元素,使其仍然有序。
程序如下:
#include "iostream.h"
#include ...