上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 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 指间ゝ繁华初逝的格调 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 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 指间ゝ繁华初逝的格调 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 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 指间ゝ繁华初逝的格调 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 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 指间ゝ繁华初逝的格调 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 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 指间ゝ繁华初逝的格调 阅读(279) 评论(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 指间ゝ繁华初逝的格调 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 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 指间ゝ繁华初逝的格调 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 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 指间ゝ繁华初逝的格调 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 源代码: 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 指间ゝ繁华初逝的格调 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 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 指间ゝ繁华初逝的格调 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页