Location:
Search - char* repla
Search list
Description: 6. 编写一个函数find_replace_str,其原型如下:
int find_replace_str(char str[],
const char find_str[],
const char replace_str[])
要求:该函数能够完成把字符串str中的所有子串find_str都替换成字符串replace_str,返回值为替换的次数。
-Six. Write a function find_replace_str, whose prototype is as follows: int find_replace_str (char str [], const char find_str [], const char replace_str []) requirements: This function is able to complete all of the string str substring find_str all replacement a string replace_str, the return value is replaced more frequently.
Platform: |
Size: 841728 |
Author: 周 |
Hits: