C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:#include "stdio.h"#include "string.h"int a(char str1[],char str2[]){ int i; for(i=0;i<3;i++) { if(s…… 题解列表 2017年06月18日 0 点赞 0 评论 1624 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:使用字符串处理函数。字符串的输入输出用gets()和puts()函数。注意事项:字符数组传参注意传递指针参考代码:#include<stdio.h>#include<string.h>#de…… 题解列表 2017年07月08日 0 点赞 0 评论 1063 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a[100],b[100],c[100]; sca…… 题解列表 2017年08月14日 2 点赞 0 评论 1293 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:注意事项:注意数组长度,太短会引发错误。参考代码:#include<stdio.h>#include<string.h>int main(){ char a1[100],b1[100…… 题解列表 2017年08月17日 0 点赞 0 评论 944 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:#include<stdio.h> #include<string.h> #define N 80 int main() { int i, j; char str[4]…… 题解列表 2017年10月27日 1 点赞 0 评论 695 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:利用字符串比较函数strcmp设这两个字符串为str1,str2,若str1==str2,则返回零;若str1<str2,则返回负数;若str1>str2,则返回正数。利用if语句判断并依次…… 题解列表 2017年10月18日 2 点赞 0 评论 1786 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100],b[100],c[100]; get…… 题解列表 2017年10月22日 0 点赞 0 评论 1054 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:二维数组实现注意事项:参考代码:/* string sort */ #include<stdio.h> #include<string.h> #define N 3 void s…… 题解列表 2017年10月30日 2 点赞 0 评论 711 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<string.h> int main() { char *s[3],*p,a[100],b[100],c[100]; in…… 题解列表 2017年12月09日 21 点赞 4 评论 932 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>int main(){ …… 题解列表 2017年12月17日 0 点赞 0 评论 650 浏览 评分:0.0