登录
首页 » 终端 » 实现标准库函数strstr的功能:在str1中查找str2,若找到,返回指向str1中第一次出现str2的位置; int A ( const char...

实现标准库函数strstr的功能:在str1中查找str2,若找到,返回指向str1中第一次出现str2的位置; int A ( const char...

于 2022-07-22 发布 文件大小:2.90 kB
0 129
下载积分: 2 下载次数: 1

代码说明:

实现标准库函数strstr的功能:在str1中查找str2,若找到,返回指向str1中第一次出现str2的位置; int A ( const char * str1, const char * str2 ); 没有的话,返回-1 有则返回所在位置(从0开始) 写出函数,对编写函数main完成对strstr的功能的验证。 -achieve the standard library functions strstr function : the search for str2 str1, if found, str1 return at the first appearance of str2 position; Int A (const char* str1, const char* str2); If not, the return-1 is returned with the location (from starting at 0) write function, the main function prepared to complete the function of the strstr certification.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • This is a topological sorting example, the data structure of the students will h...
    这是一个拓扑排序的例子,对学数据结构的同学有很大帮助!-This is a topological sorting example, the data structure of the students will have a great help!
    2023-02-20 18:40:03下载
    积分:1
  • VB远程开启程序
    一个用于开启远程终端的程序,只作学习参考。应用了局域网网络维护、管理。一个用于开启远程终端的程序,只作学习参考。应用了局域网网络维护、管理。一个用于开启远程终端的程序,只作学习参考。应用了局域网网络维护、管理。
    2022-06-15 10:32:38下载
    积分:1
  • 这是个基础的程序,请大家指点指点!我的Q:137851600,邮箱lbz_898236@126.com...
    这是个基础的程序,请大家指点指点!我的Q:137851600,邮箱lbz_898236@126.com-This is the basis for the procedure, please pointing out the instructions! My Q : 137851600, mail lbz_898236@126.com
    2022-11-27 13:50:03下载
    积分:1
  • 合并排序与链表
    应用背景实现一个链表进行归并排序算法对3种不同尺寸的数值数据集(20,200,2000)。数值数据集应该是随机的。比较了不同大小的数值数据集合并排序算法,并确定在数据集上有更好的性能;关键技术程序更可用,程序应处理特殊情况,如用户意外无效输入。如果用户输入错误的东西,你应该允许用户输入另一个输入,直到它是一个有效的响应;
    2022-05-09 01:52:01下载
    积分:1
  • 简单的恺撒加密算法(c++描述),欢迎大家下载!
    简单的恺撒加密算法(c++描述),欢迎大家下载!-simple Caesar encryption algorithm (c described), all are welcome to download!
    2022-03-20 05:51:58下载
    积分:1
  • 二叉树的应用
    利用结构体变量定义了二叉树的指针,完成二叉树的创立可以利用头插法或者尾插法实现。再创立二叉树的过程中直接创立平衡二叉树,然后再平衡二叉树中插入新的节点,此时平衡二叉树失去平衡,重新调整直至平衡。然后再删除一个节点,再重新调整平衡二叉树。还是实现了查找关键字的处理。
    2023-07-27 09:00:03下载
    积分:1
  • 实现文本内容的自动校验,标签属性与普通input相似,使用该标签后无需再考虑数据提交时的据校验问题。与struts的动态表单需要大量配置校验文本规则相比,这里的...
    实现文本内容的自动校验,标签属性与普通input相似,使用该标签后无需再考虑数据提交时的据校验问题。与struts的动态表单需要大量配置校验文本规则相比,这里的工作量为0。 -achieve text automatic calibration, labeling and regular input attributes similar after using the label no longer consider the data submitted was checking the problem. Struts and the need to form large dynamic configuration rules than checking the text, the workload here is 0.
    2022-01-25 14:53:22下载
    积分:1
  • grep by曹斯琴,2007.7.17
    grep by Cao Siqin,2007.7.17 grep [-v?] Options: -? : show this help -v : list lines that doesn t contain sub-string -n : list in one line, words separated by tab-grep by Cao Siqin,2007.7.17 grep [-v?] Options: -? : show this help -v : list lines that doesn t contain sub-string -n : list in one line, words separated by tab
    2022-08-11 00:42:22下载
    积分:1
  • 对广义表形式的输入的字符串建二叉树,并中序输出
    对广义表形式的输入的字符串建二叉树,并中序输出-In put a Glist and Create a Binary Tree with it then output the Binary tree inorder
    2023-06-13 17:00:03下载
    积分:1
  • 统计文件的类型,对于不同的C++或Java等文件统计注释等行数
    统计文件的类型,对于不同的C++或Java等文件统计注释等行数-Statistics document the type, for different C++ Or Java and other documents, such as the number of rows and Statistics Notes
    2022-05-24 12:05:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载