C语言程序设计教程(第三版)课后习题10.3 (C语言代码) 摘要:解题思路:在vs 编译 运行 都没问题, 提交报编译错误。 哪位帮忙看下注意事项:参考代码: #include<stdio.h>int main(){ int findmax(int *arr, …… 题解列表 2017年07月19日 0 点赞 1 评论 1027 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:没有可说的额参考代码:#include <stdio.h>#include <stdlib.h>#define f(A,B)t=A;A=B;B=t;int main(){ int a,b,t; …… 题解列表 2017年07月19日 1 点赞 0 评论 909 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:话不多说,直接代码,经过本人尝试,保存数据的数组长度要够长才行, 此外没有传递参数 ,可以用结构体指针做下参考代码:#include <stdio.h>#include <stdlib.h>/*int…… 题解列表 2017年07月19日 11 点赞 1 评论 1916 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:不多废话,直接代码参考代码:#include <stdio.h>#include <stdlib.h>int main(){ char buf[10]; int i=0; scanf…… 题解列表 2017年07月19日 1 点赞 2 评论 650 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:#include <iostream>using namespace std;int main(void){ int insert; int num[10]; for (int i=0; i<9; i…… 题解列表 2017年07月19日 0 点赞 0 评论 993 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:话不多说,直接上代码 //可能较之别的代码略长,但是我写的一般的,可以套用参考代码:#include <stdio.h>#include <stdlib.h>void cpy(char a[],cha…… 题解列表 2017年07月19日 1 点赞 0 评论 977 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int g,s,b,q,w,x; scanf("%d",&x); w=x/10000; …… 题解列表 2017年07月19日 11 点赞 4 评论 1216 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C++代码) 摘要:解题思路:选择排序:每一次都让起始数后面的最大(最小)的数与之交换参考代码:#include <iostream>using namespace std;void sort(int num[], in…… 题解列表 2017年07月19日 0 点赞 0 评论 1096 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int i=0,j=0; char s[26]={0}; …… 题解列表 2017年07月19日 0 点赞 0 评论 943 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int len,i,j; char a[30]={0}; …… 题解列表 2017年07月19日 0 点赞 0 评论 916 浏览 评分:0.0