
C语言
文章平均质量分 70
jremmyliu
这个作者很懒,什么都没留下…
展开
-
C语言----指针
#include #include #define TRUE 1#define FALSE 0size_t count_char(char *string){int length;while(*string++ != '\0')length+=1; return length;}void main(void){int temp;char ch[]= "wewe345435535^&&*45#5^4原创 2014-01-13 10:43:01 · 685 阅读 · 1 评论 -
C语言--结构体
以下程序段转载自http://www.quanxue.cn/JC_CLanguage/CLang/Clang21.html#include #include #include struct p_type { char id[4]; //编码 char name[16]; //姓名};//结构体变量作参数void setByVar(struct原创 2014-01-17 16:50:51 · 677 阅读 · 0 评论