![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
jiangtu2012
这个作者很懒,什么都没留下…
展开
-
strcat,strcpy,strcmp,strlen4个常用字符串处理函数的数组与指针简单实现方法~
strcat,strcpy,strcmp,strlen4个常用字符串处理函数的数组与指针简单实现方法~分类: Cnull测试1、strcat函数的实现方法(1)数组实现方法:#includevoid strcat1(char s[],char t[]){ int j=0,i=0; while(s[i]!='/0')//判断是否为字符串转载 2015-06-29 14:16:03 · 732 阅读 · 0 评论 -
C语言中的struct、union、enum、Typedef
一、typedef的用法转载地址:http://www.2cto.com/kf/201404/296683.htmltypedef可以看作type define的缩写,顾名思义就是类型定义,也就是说它只是给已有的类型重新定义了一个方便使用的别名,并没有产生新的数据类型。typedef的使用与宏定义define有些许的相似,但两转载 2015-06-29 14:11:21 · 901 阅读 · 0 评论