C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>#define jiaohuan(a,b) temp=a;a=b;b=tempint main(){ int temp,c…… 题解列表 2017年12月09日 0 点赞 0 评论 581 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:宏的定义注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define E(a,b) t=a;a=b;b=t;int main(){ vo…… 题解列表 2017年12月12日 0 点赞 0 评论 796 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define huan(a,b) t=a;a=b;b=tint main(){ int …… 题解列表 2017年12月17日 0 点赞 0 评论 778 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h>#include<math.h>#include<string.h>#include<ctype.h>#define exchan…… 题解列表 2017年12月20日 0 点赞 0 评论 515 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>using namespace std;int main(){…… 题解列表 2018年01月09日 0 点赞 0 评论 840 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:这个题就是搞懂带参数的宏是什么,一般我们知道不带参数的宏,格式就是:#define 名称 大小然后带参数的宏就后面的大小用参数表示,就是变量;可以参考一下代码。注意事项:参考代码:#incl…… 题解列表 2018年01月20日 1 点赞 0 评论 637 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C++代码) 摘要:解题思路:注意事项:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; swap(a,b); c…… 题解列表 2018年02月08日 0 点赞 0 评论 750 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题基础:宏定义答案 #include<stdio.h>#define Y(a,b) t=a;a=b;b=t;//两数交换位置int main(){ int a,b,t; scanf("…… 题解列表 2018年03月13日 0 点赞 0 评论 676 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言利用算法并不需要3个参数交换) 摘要:解题思路:a , b 假设 为 1 2a=二者合b=a-b (这时候就把原a的值给了b) 合 刨去b的值a-=b 再用合 刨去b(也就是原a的值)赋给a 注意事项:参考代码:#include<std…… 题解列表 2018年03月25日 1 点赞 0 评论 737 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define M(x,y) Tmp=x;x=y;y=Tmp;int main(){ int a,b,Tmp; scanf("%d%d"…… 题解列表 2018年04月07日 0 点赞 0 评论 827 浏览 评分:0.0