会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
指间ゝ繁华初逝的格调
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
9
下一页
2016年3月7日
C语言函数qsort的使用方法
摘要: qsort函数stdlib.h文件中,函数原型为 void qsort(void *base,size_t nelem,size_t width,int (*Comp)(const void *,const void *)); *base 为要排序的数组 nelem 为要排序的数组的长度 width
阅读全文
posted @ 2016-03-07 10:05 指间ゝ繁华初逝的格调
阅读(300)
评论(0)
推荐(0)
2016年3月3日
成绩打分
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include <string.h> 4 #define N 10 5 6 7 struct Data 8 { 9 char Name[20];//姓名 10 int Num ;//编号 11 int flags
阅读全文
posted @ 2016-03-03 20:56 指间ゝ繁华初逝的格调
阅读(253)
评论(0)
推荐(0)
2016年3月1日
distance.c
摘要: 1 #include "stdio.h" 2 #include "string.h" 3 #include "math.h" 4 #include "malloc.h" 5 6 const long long Max_size = 2000;//输入字符串的最大长度,可以由单个词条和多个词条组成 7
阅读全文
posted @ 2016-03-01 22:50 指间ゝ繁华初逝的格调
阅读(387)
评论(0)
推荐(0)
2016年2月25日
留学生题目
摘要: 1 #include <iostream> 2 #include "stdlib.h" 3 using namespace std; 4 5 void Show() 6 { 7 cout<<"CIS 25 – C++ Programming \n"; 8 cout<<"Laney College \
阅读全文
posted @ 2016-02-25 22:18 指间ゝ繁华初逝的格调
阅读(196)
评论(0)
推荐(0)
2016年2月24日
6大排序算法比较
摘要: 1 #include"stdio.h" 2 #include"stdlib.h" 3 #include"string.h" 4 #include"time.h" 5 6 #define LIST_INIT_SIZE 50000 7 int bj1,yd1,bj2,yd2,bj3,yd3,bj4,yd
阅读全文
posted @ 2016-02-24 21:36 指间ゝ繁华初逝的格调
阅读(287)
评论(0)
推荐(0)
小游戏得分[石头剪刀布]
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define Maxlen 100 //定义输入字符的长度 5 6 //顺序栈 7 typedef struct 8 { 9 char data[Maxlen];//存储字符 10 int top; 11
阅读全文
posted @ 2016-02-24 14:42 指间ゝ繁华初逝的格调
阅读(256)
评论(0)
推荐(0)
2016年2月23日
二叉排序树算法
摘要: 1 #include "stdio.h" 2 #include "string.h" 3 #include "malloc.h" 4 5 struct Student{ 6 char Stu_Number[20];//学号 7 char Stu_Name[10];//姓名 8 char Stu_Be
阅读全文
posted @ 2016-02-23 16:18 指间ゝ繁华初逝的格调
阅读(494)
评论(0)
推荐(0)
2016年2月21日
头文件相关
摘要: c语言 #include <stdio.h> 完整的stdio.h ==》standard input/output #include <string.h>是关于字符数组的函数定义的头文件,常用函数有strlen/strcmp/strcpy等等 #include <malloc.h>动态存储分配 i
阅读全文
posted @ 2016-02-21 21:03 指间ゝ繁华初逝的格调
阅读(126)
评论(0)
推荐(0)
2016年1月11日
小型考试系统
摘要: 源代码: 1 #include <stdio.h> 2 #include <string.h> 3 #include <stdlib.h> 4 5 #define Score_Num 35 6 7 struct Standard 8 { 9 int A; 10 int B; 11 int C; 12
阅读全文
posted @ 2016-01-11 20:01 指间ゝ繁华初逝的格调
阅读(623)
评论(0)
推荐(0)
小题目【链表1】
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 #include "malloc.h" 4 #include "string.h" 5 6 const int maxlen=1000;//最大长度 7 typedef char type; 8 9 struc
阅读全文
posted @ 2016-01-11 10:36 指间ゝ繁华初逝的格调
阅读(162)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
9
下一页
公告