2019年3月22日

刘赤 myalarm 3-22

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 #define ALARM_MAX 1024 11 12 typedef struct 13 { 14 int real_sec;... 阅读全文

posted @ 2019-03-22 21:56 LC001 阅读(166) 评论(0) 推荐(0)

2019年3月16日

刘赤-ls

摘要: #include <stdio.h> #include <getopt.h> #include <sys/types.h> #include <unistd.h> #include <sys/stat.h> #include <time.h> #include <grp.h> #include <p 阅读全文

posted @ 2019-03-16 10:44 LC001 阅读(188) 评论(0) 推荐(0)

2019年1月25日

刘赤 1-25

摘要: /* 实现学生管理系统 学生信息: 学号 姓名 班级 电话号 功能: 增加 删除 修改 查看 */ #include <stdio.h> #include <time.h> #include <stdlib.h> #include <string.h> #define N 32 typedef st 阅读全文

posted @ 2019-01-25 20:10 LC001 阅读(134) 评论(0) 推荐(0)

2019年1月21日

my strlen strcpy strcmp strcat

摘要: 7 int main() 8 { 9 char str1[]="abcdefgh"; 10 char str2[100]; 11 char str3[]="igkl"; 12 13 printf("%d\n",str_len(str1)); //str1 长度 14 15 str_cpy(str1, 阅读全文

posted @ 2019-01-21 19:02 LC001 阅读(88) 评论(0) 推荐(0)

2019年1月17日

刘赤 1-17

摘要: 1 /* 递归函数理解不够透彻 */ 2 3 4 5 #include <stdio.h> 6 7 int max_num(int x,int y); 8 int factorial(int num); 9 int in_num(int num); 10 int A_B(int num1,int n 阅读全文

posted @ 2019-01-17 19:49 LC001 阅读(125) 评论(0) 推荐(0)

导航