摘要:
1 #include <stdio.h> 2 #include <stdlib.h> 3 #include "../Stack/stack.h" 4 5 typedef struct 6 { 7 int row; 8 int col; 9 } POSITION; 10 11 int getSize( 阅读全文
posted @ 2020-02-28 14:51
张乐珊
阅读(138)
评论(0)
推荐(0)
摘要:
1 #include <stdio.h> 2 #include <stdlib.h> 3 #include "../Stack/stack.h" 4 5 const char closMiss[] = "Close paren missing at line"; 6 const char openM 阅读全文
posted @ 2020-02-28 14:41
张乐珊
阅读(284)
评论(0)
推荐(0)
摘要:
1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include "../Stack/stack.h" 5 6 int priority(char token); 7 bool isOperator(char to 阅读全文
posted @ 2020-02-28 14:40
张乐珊
阅读(234)
评论(0)
推荐(0)
摘要:
1 #include <stdio.h> 2 #include <stdlib.h> 3 #include "../Stack/stack.h" 4 int main() 5 { 6 unsigned int num; 7 int* digit; 8 STACK* stack; 9 10 stack 阅读全文
posted @ 2020-02-28 14:39
张乐珊
阅读(344)
评论(0)
推荐(0)
摘要:
1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int hanoi(int n, char a, char c, char b); 5 6 int main() 7 { 8 int numdisk; 9 printf("The number of dis 阅读全文
posted @ 2020-02-28 14:38
张乐珊
阅读(387)
评论(0)
推荐(0)
摘要:
1 #include <stdio.h> 2 #include <stdlib.h> 3 4 void swap (int *a, int *b); 5 int main() 6 { 7 int a = 3; 8 int b = 5; 9 10 swap(&a, &b); 11 12 printf( 阅读全文
posted @ 2020-02-28 14:37
张乐珊
阅读(233)
评论(0)
推荐(0)
摘要:
stack.h 1 #ifndef STACK_H_INCLUDED 2 #define STACK_H_INCLUDED 3 #include <stdbool.h> 4 5 typedef struct stack STACK; 6 7 STACK* createStack (void); 8 阅读全文
posted @ 2020-02-28 14:35
张乐珊
阅读(307)
评论(0)
推荐(0)

浙公网安备 33010602011771号