/* id比较练习*/ #include <stdio.h> int main(){ int id = 0,length = 0,id1 = 0; FILE *p_file = NULL; printf("请输入一个id:"); sca
/* 项目 人员信息管理系统练习 最多10个人 把信息保存到文件中去 */ #include <stdio.h>#include <string.h>int save() //用来保存人员信息{ int num = 0,id
/* 字符串函数练习 手动写:strlen strcpy strcat */#include <stdio.h>int mystrlen(const char * p_str ) &
/* 字符串输入输入出练习 输入缓冲区*/#include <stdio.h>#include <string.h> int main(){ char buf[10] = {}; int num = 0; printf("请输入一个字符串:"); //scanf("%s",buf);&nbs
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号