我知道typedef是类型别名的意思,也知道结构体如何定义。
但下面的代码:
typedef struct node{
struct node*lchild;
char data;
struct node*rchild;
}bitnode,*bitree;
那这样结构体后面的是对象还是别名呢?我感觉应该是对象,但typedef又无从说起。
然后接着有
bitree crea...
分类:
编程语言 时间:
2014-07-06 12:25:16
阅读次数:
179
by:白书
#define M 10000
int pre[M],dfs_clock,iscut[M],low[M],bcc_cnt,bccno[M];
vectorG[M],bcc[M];
struct Edge
{
int u,v;
Edge(int from,int to)
{
u=from;
v=to;
}
};
stack S;
int dfs(int u,int fa...
分类:
其他好文 时间:
2014-07-06 11:29:32
阅读次数:
198
/**************dis_12864.h***************/
#include
#ifndef __DIS_12864_H__
#define __DIS_12864_H__
#define uchar unsigned char
#define uint unsigned int
/*12864端口定义*/
#define LCD_data ...
分类:
其他好文 时间:
2014-07-06 10:58:45
阅读次数:
129
由查找session IP 展开---函数、触发器、包
一、userenv函数、sys_context函数
--查看当前客户端会话的session IP信息
SQL>select sys_context('userenv','ip_address') from dual;
SYS_CONTEXT('USERENV','IP_ADDRESS')
-------------...
分类:
其他好文 时间:
2014-07-06 10:40:35
阅读次数:
161
题目链接:
点我点我
点我点我
题目为:
Escape from Enemy Territory
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 2410
Accepted: 661
Description
A small group...
分类:
其他好文 时间:
2014-07-05 23:28:20
阅读次数:
206
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-07-05 21:30:45
阅读次数:
175
aspxvar Tbody = $("#PartTable")[0]; var data = []; for (var i = 0; i >(JsonValue.Value); public class OutwardProcessingOrderBs { public int OM...
分类:
Web程序 时间:
2014-07-05 21:15:28
阅读次数:
201
LZ77压缩算法二.LZ77算法1977年,Jacob Ziv和Abraham Lempel描述了一种基于滑动窗口缓存的技术,该缓存用于保存最近刚刚处理的文本(J. Ziv and A. Lempel, “A Universal Algorithm for Sequential Data Compr...
分类:
其他好文 时间:
2014-07-05 21:01:46
阅读次数:
905
struts2上传图片的过程1、写一个上传的jsp页面upload_image.jsp,内容如下: 解析:A、 form里面的method必须是post,enctype="multipart/form-data"上传文件必须这样写 B、这个是图片格式或者大小出...
分类:
其他好文 时间:
2014-07-05 20:59:18
阅读次数:
218
整型的封装typedef intptr_t ngx_int _t;//有符号整型typedef uintptr_t ngx_uint_t;//无符号整型字符串的封装typedef struct{ size_t len; u_char *data; }ngx_str_t;链表容器...
分类:
其他好文 时间:
2014-07-05 20:55:25
阅读次数:
252