自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (11)
  • 收藏
  • 关注

原创 c++实现万年历,从公元1年1月1日开始,这一天是星期一

//从公元元年一月一日是星期一开始计算//用类实现求万年历的算法#include#include#includeusing namespace std;class Calendar{private: int month; int date; string Day[7];//char Day[7][10];//私有成员不能初始化,而且字符数组要想

2012-10-23 22:18:08 5624 1

原创 c++实现数据结构的二叉树及其遍历二叉树

二叉树的初始化,删除,遍历注意:看是否满足条件,则必须是在调试的对话框的右下侧观察数据是否满足是一个树及其它的左孩子和右孩子//二叉树链式存储的实现#include#includeusing namespace std;struct ECS_data //先定义好一个数据的结构{ char data; ECS_data *l; ECS_data *r;

2012-10-16 12:30:00 2799

原创 建立动态的n维数组

建立一维的动态数组#includeusing namespace std;int main(){ int *p,n,i,n1; cin>>n; p=new int [n]; for(i=0;i<n;i++) { cin>>n1; *(p+i)=n1; } for(i=0;i<n;i++) cout<<*(p+i)<<" "; cout<

2012-10-15 21:35:41 2455 1

原创 用栈实现杨辉三角

//用循环链表实现杨辉三角#include#define Length 10#define ERROR 0#define TRUE 1using namespace std;class XU_DL{private: int *item; int front; int rear; int maxlength;public: XU_DL(int

2012-10-14 21:55:55 2423

原创 栈的实现

//顺序栈的实现/*#include#define STACKlength 100#define ADD 10 #define ERROR 0#define TRUE 1using namespace std;class SX_Stack{private: int *base; int top; int stacklength;public:

2012-10-12 20:42:44 544

原创 循环队列及循环队列实现数值转换

#include#define Length 10#define ERROR 0#define TRUE 1using namespace std;class XU_DL{private: int *item; int front; int rear; int maxlength;public: XU_DL(int length=Length)

2012-10-12 20:41:26 888

原创 特殊矩阵的压缩矩阵及其转置

//已有数据稀疏矩阵的压缩存储及转置/*#include#includeusing namespace std;struct SYZ{ int i,j,v;};struct JZ{ int hang,lie; int n; SYZ *data;};void CSH(JZ &a){ a.hang=4; a.lie=5; a.n=

2012-10-12 20:40:13 1112 1

原创 链表实现(线性,链表)

//顺序线性表 /*#includeusing namespace std;#define Virtuallength 100#define AddspaceList 50#define TRUE 1#define ERROR 0class List{private: int *item; int length; int MAXlength;pu

2012-10-12 20:38:15 633

原创 色子游戏(随机数)

//不用随机数/*#include#include#define TRUE 1#define ERROR 0using namespace std;int Game1()    //第一次投掷骰子的方法规则{ int n1,n2; cout cin>>n1>>n2; int s1=n1+n2; if((s1==7)||(s1==11)) return

2012-10-12 20:35:52 974

原创 随机数

//用定义random函数没有直接常量定义(#define random(x)(rand()%x))的好,这样出现相同的概率很大/*#include #include #include using namespace std;int main(){    double random(double,double);    srand(unsigned(time(0))

2012-10-12 20:34:15 416

Ncut调试可以运行的程序(matlab)

https://www.cis.upenn.edu/~jshi/software/该网站下的代码,但是不能直接使用,现在对原来的代码进行的调试和修改,Ncut可以运行出结果

2016-06-12

授予管理员权限注册表文件

删除只有管理员权限才能删除的文件程序,只要下载该文件,双击运行该文件,一直点下一步,然后到要删除的文件点击邮件授予管理员权限后就可以删除该文件了。

2015-09-17

简单托盘处理过程

简单托盘处理过程,实现了一个小图标的托盘处理

2013-07-11

SQL Server2008的安装

对于SQL Server2008的每一步安装过程都详细解析,是我边安边截图写的。

2013-03-23

c++ vector使用

关于c++中怎么使用vector对象来存储,删除数据。

2012-10-12

高质量程序设计指南.C.C语言(

[高质量程序设计指南.C.C语言(第三版)].林锐.扫描版.pdf )

2012-07-27

C程序设计题解与上机指导].(谭浩强).(第二版

C程序设计题解与上机指导].(谭浩强).(第二版).pdf

2012-07-27

atoi和atof函数的区别

atoi和atof函数的区别及两个函数的功能分别是什么!

2012-07-27

atoi函数源代码

atoi函数的源代码,使你更加的了解atoi函数的功能。

2012-07-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除