自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 ICS Chapter1

1.1 What We Will Try to Do There is no magic to computer, and it's really a deterministic system, having no mind of its own. Computer is a structure built up step by step, layers and layers. The book

2016-09-13 21:54:47 276

原创 利用栈进行括号配对检验

Status Test( char *s ) ; int main() { char s[200] ; gets(s) ; if( Test(s) ) printf("OK\n") ; else printf("Wrong\n") ; return 0 ; } Status Test( char *s ) { Stack S ; char e ; InitStack(

2016-04-14 01:16:44 464

原创 利用栈进行数制转换

/* 对于输入的任意一个非负十进制整数,打印输出与其等值的N进制,N由用户输入 */ #include"HeadFile.cpp" int Conversion( int num, int N ) ; int main() { int num_10, num_N, N ; scanf( "%d", &num_10 ) ; scanf( "%d", &N ) ; num_N = C

2016-04-13 23:06:42 685

原创 栈的实现

#include #include #include /* **状态返回值宏定义 */ typedef int Status ; #define TRUE 1 #define OK 1 #define FALSE 0 #define ERROR 0 #define INFEASIBLE -1 #define OVERFLOW -2 /***四则运算栈实现 */ #define ST

2016-04-13 22:33:30 211

空空如也

空空如也

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

TA关注的人

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