自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (3)
  • 收藏
  • 关注

转载 结构体定义 typedef struct 用法详解和用法小结

转自   http://blog.sina.com.cn/s/blog_4fdabc820100fsxu.html 紫心玲儿的博客typedef是类型定义的意思。typedef struct 是为了使用这个结构体方便。具体区别在于:若struct node {}这样来定义结构体的话。在申请node 的变量时,需要这样写,struct node n;若用typedef,可

2015-03-08 16:05:17 279

原创 数据结构之线性表的基本操作

#include#include#include#define ERROR 0#define TRUE 1#define OK 1#define FALSE 0#define FEASIBLE -1#define OVERFLOW -2#define LIST_INIT_SIZE 100#define LISTINCREMENT 10ty

2013-11-07 21:54:04 94

原创 数据结构之三元组的操作

#include #include #include #define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define OVERFLOW -2#define INFEASIBLE -1#define ElemType inttypedef int Status;typedef

2013-11-07 10:49:37 628

原创 数据结构之复数的四则运算

#include #include typedef struct Complex {float real;float image;}Complex;Complex InitComplex(float a,float b){Complex C;C.real=a;C.image=b;return C;}//创建复数Complex Add(Comp

2013-10-17 23:56:33 3320 1

原创 数据结构之 复数的四则运算

#include#includetypedef struct Complex{    float real;    float image;}Complex;void CreatComplex(Complex& c,float a,float b);void AddComplex(Complex& sum,Complex c1,Complex c2 );vo

2013-09-13 17:48:36 1241

原创 1562 Guess the number

Guess the numberTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2101    Accepted Submission(s): 1591Problem DescriptionHappy new yea

2013-08-02 09:22:39 351

原创 杭电2015偶数求和

偶数求和Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 35002 Accepted Submission(s): 15217Problem Description有一个长度为n(nInpu

2013-07-26 17:08:20 414

经典编程900例

经典编程900例(C语言),多动手,才能熟悉C

2013-11-28

《彻底搞定C指针》.pdf

《彻底搞定C指针》姚云飞先生的大作《彻底搞定C指针》是互联网上中文C/C++界内为数不 多的专门阐述C指针问题的优秀文献资源之一。

2013-11-28

空空如也

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

TA关注的人

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