文件名称:csd
-
所属分类:
- 标签属性:
- 上传时间:2013-01-02
-
文件大小:2.61kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写函数catstr(char str1[],char str2[])用于进行两个字符串的连接,编写函数lenstr(char str[])用于统计一个字符串的长度,并在主函数中调用。要求:1.不允许使用strcat()和strlen()字符处理库函数。2.在主函数中,以直接初始化的方式输入两个字符串。调用函数lenstr()计算并返回两个字符串的长度。3.调用函数lenstr()计算并返回连接后的字符串的长度。并输出。-Write function catstr (char str1 [], char str2 []) for the connection of two strings, to write function lenstr (char str []) for statistical length of a string, and call in the main function. Requirements: 1. Not allowed to use the strcat () and strlen () character handling library functions. 2 in the main function to direct initialized input two strings. Call the lenstr () function calculates and returns the length of the two strings. Call the function lenstr () calculates and returns the concatenated string length. And output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shanqingyao.ncb
shanqingyao.opt
shanqingyao1.c
shanqingyao.opt
shanqingyao1.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.