会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mightyq
博客园
首页
新随笔
联系
管理
订阅
2015年1月8日
打印
摘要: 打印一个X型的*#define IABS(x) ( (x)>=0? (x):(-x) )void print(int size){ int x,y; for(int y=-size;y<=size;y++) { for(int x=-size;x<=size;x++)...
阅读全文
posted @ 2015-01-08 16:22 mightyq
阅读(103)
评论(0)
推荐(0)
2014年12月24日
struct个人详解
摘要: 参考《C语言入门经典》 1 struct horse /*没有horse,就是无名的结构体*/ 2 { 3 int age; 4 int height; 5 }Slever; /*slever是这种结构体类型(horse类型)的一个变量*/ 6 7 struct horse Da...
阅读全文
posted @ 2014-12-24 10:41 mightyq
阅读(194)
评论(0)
推荐(0)
线性表1
摘要: #include#include#include #define MAXSIZE 20#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0typedef int Status;typedef int ElemType;typedef str...
阅读全文
posted @ 2014-12-24 02:09 mightyq
阅读(126)
评论(0)
推荐(0)
公告