C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:字符串的处理一般有两种,复制和连接,这里用到一个连接函数。参考代码:char a[100], b[50]; gets(a); gets(b); strcat(a, b); …… 题解列表 2017年07月23日 0 点赞 1 评论 517 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <cstring>int main(){ char c[1005],d[1005],e[2010]; sc…… 题解列表 2017年07月28日 1 点赞 0 评论 893 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ char str1[100] , str2[100]; scanf("%s%s" , str1 , str2…… 题解列表 2017年08月22日 0 点赞 0 评论 742 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { int i,j; char str1[100…… 题解列表 2017年09月02日 0 点赞 0 评论 686 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:用gets()输入,puts()输出,调用strcat(数组1,数组2);注意事项:调用C语言中的库函数参考代码:#include<stdio.h>#include<math.h>int m…… 题解列表 2017年09月23日 0 点赞 0 评论 757 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:就是字符串的输入和字符指针的使用注意事项:参考代码:#include<stdio.h>#include<string.h>void pinjie(char *p1,char *pp,int …… 题解列表 2017年10月08日 0 点赞 0 评论 861 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 字符串链接 */ #include<stdio.h> void link(char *ch1,char *ch2) { char ch[1000…… 题解列表 2017年10月27日 3 点赞 2 评论 681 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:#include <stdio.h> #include <string.h> int main() { char str1[100],str2[100]; gets(str1); g…… 题解列表 2017年12月02日 1 点赞 0 评论 637 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:#include<stdio.h> #include<string.h> void link(char *a,char *b) { a=strcat(a,b); puts(a); …… 题解列表 2017年12月05日 4 点赞 1 评论 747 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <cstdio>using namespace std;int main(){ …… 题解列表 2017年12月06日 0 点赞 0 评论 594 浏览 评分:0.0