摘要: 注意引入的新函数strstr C语言函数 包含文件:string.h 函数名: strstr 函数原型: 语法: str1: 被查找目标 string expression to search. str2: 要查找对象 The string expression to find. 返回值:若str2 阅读全文
posted @ 2018-01-17 22:55 Do1phln 阅读(517) 评论(0) 推荐(1) 编辑
摘要: 1 #include 2 #include 3 4 struct student{ 5 int num; 6 char name[20]; 7 int score; 8 }; 9 10 int main(){ 11 int i; 12 struct student st,stmax,stmin; 13 stmax.score ... 阅读全文
posted @ 2018-01-17 22:24 Do1phln 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 注意四舍五入的问题。 阅读全文
posted @ 2018-01-17 00:10 Do1phln 阅读(128) 评论(0) 推荐(0) 编辑