文件名称:Answer C2
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:2.89kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实现标准库函数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.
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
StdAfx.h
StdAfx.cpp
test.cpp
test.dsp
test.dsw
www.dssz.com.txt
StdAfx.cpp
test.cpp
test.dsp
test.dsw
www.dssz.com.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
