Visitors hit counter dreamweaver
摘要: 这个我是看到华为今年招聘的机试题的第三题。 输入一串算术表达式的字符串,把它的结果算出来。 1 //表达式求值(输入、输出和中间结果均只能是0~9)运算符仅限+-*/。 2 #include <stdio.h> 3 #include <string.h> 4 #include <stdlib.h> 5 #define STACK_INIT_SIZE 100 6 #define STACKINCREMENT 10 7 #define ERROR 0 8 #define OK 1 9 #define MAX 100 10 typedef int SElemTyp 阅读全文
posted @ 2011-10-09 00:23 Jason Damon 阅读(7977) 评论(2) 推荐(1) 编辑