搜索资源列表
47
- 假定输入的字符串中只包含字母和*号。请编写函数fun,它的功能是:删除字符串中所有的*号。在编写程序时,不得使用C语言提供的字符串函数。 例如,字符串的内容为:****A*BC*DEF*G*******,删除后,字符串的-Assume that the input string contains only letters and asterisk. Please write the function fun, it' s function is to: remove all the*
43
- 规定输入的字符串中只包含字母和*号。请编写函数fun,它的功能是:将字符串中的前导*号全部删除,中间和尾部的*号不删除。例如,字符串中的内容为:*******A*BC*DEF*G****,删除后,字符串中的内容应当是:A*BC*DEF*G****.在编写函数时,不得使用C语言提供的字符串函数。 注意:部分源程序在文件PROG1.C中。 请勿改动主函数main和其它函数中的任何内容,仅在函数fun的花括号中填入你编写的若干语句。 -Provides the input string c
maze
- 数据结构中的一个小实验,迷宫,1表示障碍物,0表示通路,最后在程序运行结束时用*号的路线便是迷宫的通路或者没有通路。-Data structure in a small experiment, maze, an obstacle that, 0 channels, and finally the end of the run course with an asterisk is a maze of paths or no path.