制作简易的中文编译器
这个作业属于哪个课程 https://edu.cnblogs.com/campus/fzzcxy/SE 这个作业要求在哪里 https://edu.cnblogs.com/campus/fzzcxy/SE/homework/10283 这个作业的目标 重新捡起大一拉下的C语言的有关知识 作业正文 见下文 其他参考文献 参考百度的各种资料,以及去其他大佬的博客获取知识 代码行数:158行 需求分析:2hour 代码编写:2天 所遇到的问题: 1,对C语言的陌生,以及一些语法的遗忘 2,对题目的意思了解不够全面 3,对题目的思路不过清晰,需借鉴百度以及各位博客大佬的知识 代码如下: include<stdio.h> include<string.h> include<math.h> int first(char a[]) { if(strcmp("零",a)==0) return 0; if(strcmp("一",a)==0) return 1; if(strcmp("二",a)==0) return 2; if(strcmp("三",a)==0) return 3; if(strcmp("四",a)==0) return 4; if(strcmp("五",a)==0) return 5; if(strcmp("六",a)==0) return 6; if(strcmp("七",a)=