摘要: #include <stdio.h> #include <stdlib.h> main() { unsigned int seed; /*申明初始化器的种子,注意是unsigned int 型的*/int k;printf("Enter a positive integer seed value: 阅读全文
posted @ 2016-03-11 16:18 ocean2015 阅读(250) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<malloc.h>#include<conio.h>#include<stdlib.h>#include "math.h"#include"time.h"#define NULL 0 main() { float a;srand(123456); 阅读全文
posted @ 2016-03-11 16:13 ocean2015 阅读(143) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<malloc.h>#include<conio.h>#include<stdlib.h>#include "math.h"#define NULL 0#define LEN sizeof(struct cle) struct cle { int n 阅读全文
posted @ 2016-03-11 10:36 ocean2015 阅读(258) 评论(0) 推荐(0)