gaoxin8515 发表于 2008-4-23 16:44

请帮忙做道题

编写一个函数 int index(char*s ,char*t),返回字符串t在字符串s中出现的最左边的位置。如果在s中没有与t匹配的子串,就返回-1。


页: [1]

编程论坛