- 博客(1)
- 资源 (22)
- 收藏
- 关注
转载 新浪微博技术架构
中国首届微博开发者大会于2010年11月在北京举行,这是国内微博行业的首场技术盛宴。作为国内微博市场的绝对领军者,新浪微博将在此次大会上公布一系列针对开发者的扶持政策,以期与第三方开发者联手推动微博行业的整体发展。下文为微博平台首席架构师杨卫华演讲。 以下为演讲实录: 大家下午好,在座的大部分都是技术开发者,技术开发者往往对微博这个产品非常关心。最晚的一次,是12点多收到一
2014-11-03 17:47:22 625
keil uvision 3 注册机 带CID的
keil uvision 3 注册机 带CID的
CID=CSXRK-XZD85
LIC0=RC9U8-3AX1C-ZNSAE-CU1JS-SW7YD-VJD6F
2013-01-23
hex转coe工具
hex coe 51hex_bin corGenerator
在研究MC8051对ROM进行配置时需要coe文件,这里给出了使用keil写的流水灯的hex文件,并将其转换成了coe文件,此coe可以正常使用,并且给出了51hex_bin.exe和CoeGenerator.exe
2013-01-17
数据结构 严蔚敏 C语言版 括号匹配
数据结构 严蔚敏 C语言版 括号匹配
while((c = getchar()) != EOF)
{
switch(c)
{
case '[':
push(&sqSta;, c);
break;
case '(':
push(&sqSta;, c);
break;
case ']':
if(getTop(&sqSta;, &e))
{
if(e == '[')
{
pop(&sqSta;, &temp;);
}
if(e == '(')
{
printf("\nnot match\n");
return ERROR;
}
}
break;
case ')':
if(getTop(&sqSta;, &e))
{
if(e == '(')
{
pop(&sqSta;, &temp;);
}
if(e == '[')
{
printf("\nnot match\n");
return ERROR;
}
}
break;
default :
printf("\nerror\n");
return ERROR;
break;
}
}
if(stackEmpty(sqSta))
{
printf("\nmatched\n");
}
else
{
printf("\nnot matched\n");
}
2013-01-16
数据结构严蔚敏C语言版 迷宫
数据结构 严蔚敏 C语言版 迷宫
status mazePath(seqStack *S, posType start, posType end)
{
posType curPos; //current positon
int curStep; //the ordinary number
sElemType e;
curPos = start;
curStep = 1;
do
{
if(pass(curPos)) //the current position is "accessed"
{
footPrint(curPos);
e.ord = curStep;
e.seat = curPos;
e.di = 1;
push(S, e);
if(curPos.xPos == end.xPos && curPos.yPos == end.yPos)
{
return OK; //arrive at the final
}
curPos = nextPos(curPos, 1);
curStep++;
}//end of if(pass(curPos))
else //the current position is not "accessed"
{
if(!stackEmpty(*S)) //the stack is not empty
{
pop(S,&e);
while(e.di == 4 && !stackEmpty(*S))
{
markPrint(e.seat); //the current position must be marked by '#'
pop(S,&e);
}//end while
if(e.di < 4)
{
e.di++;
push(S,e);
curPos = nextPos(e.seat, e.di);
}
}//end of if(!stackEmpty(*S))
}//end of else
}while(!stackEmpty(*S));
}
2013-01-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人