C语言程序设计教程(第三版)课后习题8.6 (C语言代码)自定义函数实现两个字符串连接 摘要:有点不明白为啥大家都不按题目要求来解题。。为了刷题而刷题嘛哈哈哈哈!下面是我的答案,仅供参考:#include <stdio.h> #include <string.h> #include <st…… 题解列表 2018年03月27日 1 点赞 0 评论 2186 浏览 评分:0.0
滴滴滴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define S(a,b,c) (1.0*(a+b+c)/2)#define area(s,a,b,c…… 题解列表 2018年03月27日 0 点赞 0 评论 1407 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码)通俗易懂 复习一下二维数组名作为函数参数 摘要: 借此题复习一下二维数组作为函数参数的情况。 因为二维数组名是指向它第一个元素的指针,而二维数组的元素为一维数组,所以二维数组名就是一个数组指针。故若要将二维数组名作为参数传入调用函数时,…… 题解列表 2018年03月27日 2 点赞 1 评论 1160 浏览 评分:7.3
C语言程序设计教程(第三版)课后习题6.2 (C语言代码)如何使用scanf函数接收空格符 摘要:scanf()和gets()都可以用来从标准输入接收一个字符串,区别如下:get()函数:1)gets()从标准输入设备读取字符串,以回车结束读取,使用'\0'结尾,回车符'\…… 题解列表 2018年03月27日 2 点赞 0 评论 2055 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Mod(x,y) x=x%yint main(){ int x,y; scanf("%d %d",&x,&y…… 题解列表 2018年03月27日 0 点赞 0 评论 1281 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int m,n; int a[1000],t,min=999999; scanf("%d %…… 题解列表 2018年03月27日 0 点赞 0 评论 1862 浏览 评分:0.0
排列 (C语言代码) 摘要:解题思路:注意事项:不用排序参考代码:#include <stdio.h>int main(void){ int i, n; scanf("%d", &n); for (i = 1;i <= n;i+…… 题解列表 2018年03月27日 0 点赞 0 评论 2001 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d", &a, &b); for (c=a;;c++…… 题解列表 2018年03月27日 0 点赞 0 评论 1062 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;printf("请输入三个整数");scanf("%d,%d,%d",&a,&b,&c);in…… 题解列表 2018年03月27日 1 点赞 0 评论 1135 浏览 评分:0.0
IP判断 (C语言代码)(新手写的思路新手易懂) 摘要:#include<stdio.h> #include<stdlib.h> #include<string.h> int main(int argc, char *argv[]) { cha…… 题解列表 2018年03月27日 7 点赞 2 评论 972 浏览 评分:0.0