c语言学习笔记
文章平均质量分 79
Anna30
这个作者很懒,什么都没留下…
展开
-
"stdlib.h"
1、随机数生成函数int rand(void):原创 2014-06-26 16:13:14 · 745 阅读 · 0 评论 -
“string.h”
一、#include "string.h"1、字符串长度strlen(s)--返回字符串s的实际字符个数,这一长度不包括表示结束的空字符。如: char str[] = "there is an island in the sea."; int n; n = strlen(str);返回结果为30. char str[] = "there is an \0i原创 2014-06-26 16:16:26 · 724 阅读 · 0 评论 -
“time.h”
1、简介time.h是cC/C++中的日期和时间头文件原创 2014-06-26 19:27:27 · 1075 阅读 · 0 评论 -
getchar() putchar()
转自:http://see.xidian.edu.cn/cpp/html/32.html转载 2014-06-27 20:28:05 · 804 阅读 · 0 评论 -
c语言文件操作
一、打开文件1. FILE *fopen(const)转载 2014-06-28 19:52:34 · 583 阅读 · 0 评论