//使用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
资源简介://使用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
上传时间: 2016-12-30
上传用户:luke5347
资源简介:#include<iostream> using namespace std int main() { unsigned long x,warcraft,war,l cin> x while(x) { unsigned long *p=new unsigned long[x+1] if(p==NULL) { cerr<<"error!"<<endl abort() } for(warcraft...
上传时间: 2015-12-11
上传用户:manlian
资源简介:八皇后问题的一种使用递归的解法,对学习递归者有一定参考作用
上传时间: 2014-12-08
上传用户:xuan‘nian
资源简介: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
上传用户:拔丝土豆
资源简介:[问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构]...
上传时间: 2014-01-12
上传用户:aig85
资源简介:数据结构 课程 2叉树的遍历 #include "stdafx.h" #include <iostream.h> typedef char elemtype
上传时间: 2013-11-30
上传用户:tb_6877751
资源简介:/*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0
上传时间: 2015-03-24
上传用户:璇珠官人
资源简介:/*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0
上传时间: 2015-03-24
上传用户:cc1
资源简介:/*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0
上传时间: 2013-12-27
上传用户:baiom
资源简介:/*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0
上传时间: 2013-12-29
上传用户:风之骄子
资源简介:/*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0
上传时间: 2015-03-24
上传用户:xieguodong1234
资源简介:/*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0
上传时间: 2013-12-18
上传用户:佳期如梦
资源简介:<C++代码设计和重用>本书全面展示如何使用C++编写可重用的代码,从而提高程序员的开发效率。 全书分为12章。包括重用性基本概念、类设计、扩展性、效率、错误、冲突、兼容性。继承、移植性、程序库等和重用相关的诸多话题。每一章的最后,通过总结和练习帮助...
上传时间: 2014-01-20
上传用户:D&L37
资源简介:一個很好用的 lcd 時鐘程序 C語言 #include<reg51.h> #include<stdio.h> //定義計時器0 的重裝值 #define RELOAD_HIGH 0x3C #define RELOAD_LOW 0xD2 //定義按鍵彈跳時間 #define DB_VAL //定義設置模式的最大時間間隔 #define TIMEOUT 200 //定...
上传时间: 2014-12-19
上传用户:zukfu
资源简介:基于终端的订花系统_socket #include<stdio.h> #include<stdlib.h> #include<errno.h> #include<string.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/socket.h> #include<sys/wait.h> #include<sys/ipc.h> #include<unistd....
上传时间: 2014-01-17
上传用户:003030
资源简介:HomeWork <学生作业提交\管理系统> 这是一个朋友做的一个学生作业提交系统,也是做为毕业设计而完成的. 使用JSP,Servelet技术,很好的实现了MVC设计模式,现在拿出来,为新来者 提供一个思路。 开发平台 JBuilder2005 数据库 MySQL 3.
上传时间: 2013-12-16
上传用户:CSUSheep
资源简介:< 虚拟机设计与实现> 的source code, linux版本
上传时间: 2014-01-03
上传用户:manlian
资源简介:HH微分方程的解法 使用matlab 解决一个方程组
上传时间: 2015-12-22
上传用户:lili123
资源简介:汉诺塔问题的实现,C语言#include <slib.h> #include <sing.h>
上传时间: 2016-02-04
上传用户:chenjjer
资源简介:< Learning MFC> 书的内容建立在对MSDN和MFC SOURCE CODE的大量分析上,该书对于希望学习MFC的人来说,是较有价值的。
上传时间: 2014-01-22
上传用户:无聊来刷下
资源简介:点液晶的程序,#include <util/delay.h> #include <avr/pgmspace.h> #include "lcd.h" #include "font6x8.h" #include "font8x16.h" #include "my_type.h"
上传时间: 2016-05-02
上传用户:change0329
资源简介:关于SM5964的三种程序示例 1.使用看门狗的程序 示例 2.可反复进入ISP的程序 示例 3.利用剩余的Falsh空间存储数据 示例 关键提示:CODE的绝对定位,方法在code_at.c中
上传时间: 2013-12-13
上传用户:weixiao99
资源简介:复数运算#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 Co...
上传时间: 2016-06-29
上传用户:wang5829
资源简介:#include <stc12c2052AD.H>// 标准库的头文件 #include <intrins.h> #include <absacc.h> #define uchar unsigned char #define uint unsigned int
上传时间: 2016-08-29
上传用户:rocwangdp
资源简介:<Visual C++MFC编程实例> 由浅入深介绍 Visual C++MFC 供使用MFC编程的使用
上传时间: 2014-08-10
上传用户:wendy15
资源简介://顺序表的建立、查找、插入与删除 #include <stdio.h> #include <malloc.h> #include <stdlib.h> #define ListSize 100 //表最大长度 //结构定义 typedef struct SeqList { int node[ListSize] //存放表结点 int length //当前表长度 } SeqLis...
上传时间: 2014-01-17
上传用户:dongqiangqiang
资源简介:通过使用Newton迭代法求解方程 并分析它的解法收敛性; 牛顿迭代法是比较适合用计算机来计算。
上传时间: 2013-12-25
上传用户:aysyzxzm
资源简介:DWR的使用 自己总结的Dwr(必要时可以Copy Code)
上传时间: 2013-12-21
上传用户:klin3139
资源简介:顺序栈的出栈、入栈、求栈长等基本操作 #include <stdio.h> #include <stdlib.h> #define STACKSIZE 50 typedef char DateType typedef struct
上传时间: 2014-01-09
上传用户:daguda
资源简介:一个倒车雷达的程序 使用的是AVR单片机。 在include.h文件里面定义 #define CPU_F 4 //4MHZ 定义外晶振的频率 #define GOOD //40KHZ更准确 #define DIS150CM //若定义了,1.5M有效,没有定义就是2.5M有效 #define DEBUG //若定义了,则是调试...
上传时间: 2017-07-27
上传用户:caixiaoxu26