C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000],l,i; scanf("%s",&…… 题解列表 2017年12月03日 1 点赞 0 评论 753 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:#include <stdio.h> #include <string.h> int main() { char str[100],temp; int i,j; gets(str);…… 题解列表 2017年12月02日 1 点赞 0 评论 794 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int fangxu(char *a,char *b){ int i=0,l,j; l=strl…… 题解列表 2017年10月28日 0 点赞 0 评论 771 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 字符串逆置 */ #include<stdio.h> #include<string.h> void func(char *ch) { int…… 题解列表 2017年10月27日 1 点赞 0 评论 855 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:就是简单的字符指针的使用注意事项:字符输入函数,最好用gets函数参考代码:#include<stdio.h>#include<string.h>void change(char *p,in…… 题解列表 2017年10月08日 0 点赞 0 评论 699 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:题目的要求是要我们在主函数中输入字符,调用函数进行逆序转换,有输出语句,可通过主函数调用满足“在主函数中输出”。利用函数调用,在主函数中设数组char ch[100],此时用gets(ch)…… 题解列表 2017年10月01日 3 点赞 2 评论 1014 浏览 评分:4.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int zf(char x[]){ int i; for(i=strlen(x)-1…… 题解列表 2017年09月26日 0 点赞 0 评论 671 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:直接用字符数组反向输出就好注意事项:输出单个字符用%c,\0不需要输出。参考代码:#include "stdio.h"int main(){ int i,l; char a[20]…… 题解列表 2017年08月29日 0 点赞 0 评论 697 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>#include <cstring>using namespace std;int main()…… 题解列表 2017年07月27日 0 点赞 0 评论 873 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[1024],b[1024]; int i,j; scanf("%s",&a); …… 题解列表 2017年07月24日 0 点赞 0 评论 642 浏览 评分:0.0