C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:话不多,直接看代码参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void f(char a[],char b[]){ in…… 题解列表 2017年07月19日 1 点赞 0 评论 860 浏览 评分:0.0
用stl超级简单 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string a,b; cin>>a,b; reverse(…… 题解列表 2024年04月03日 0 点赞 0 评论 163 浏览 评分:0.0
多余的string函数 摘要:解题思路:#include<stdio.h> #include<string.h> int main(void) { char a[100]; gets(a); i…… 题解列表 2024年12月28日 0 点赞 0 评论 195 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:#include<stdio.h>#include<string.h>int main(){ char a[15]={'0'}; scanf("%s", &a);…… 题解列表 2023年03月01日 0 点赞 0 评论 65 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(Java代码) 摘要: import java.util.Scanner; public class Main { public static void main(String[] args){ Sc…… 题解列表 2019年11月16日 0 点赞 0 评论 400 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void change(char a[50],int i);int main(){ int …… 题解列表 2018年07月13日 0 点赞 0 评论 437 浏览 评分:0.0
字符串反转 —— 利用“+”可以进行字符串拼接的特性 (Java代码) 摘要:解题思路: 直接利用Java中 “+”符号可以进行字符串拼接操作 的特性,反向遍历字符串拼接即可注意事项:参考代码:import java.util.Scanner; public class …… 题解列表 2024年10月14日 0 点赞 0 评论 88 浏览 评分:0.0
【你C不C吧】 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(void){ char zifu[100]; gets(zifu); int i1…… 题解列表 2021年11月03日 0 点赞 0 评论 311 浏览 评分:0.0
自定义函数之字符串反转-(指针)格式错误不知道哪错了?? 摘要:题解如下: #include #include void reverse(char *a,char *b,int n) { char …… 题解列表 2019年06月17日 0 点赞 1 评论 332 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:运用for循环从后往前遍历即可注意事项:参考代码:#include<stdio.h>#include<string.h>void f(char a[100]){ for(int i=s…… 题解列表 2023年10月15日 0 点赞 0 评论 76 浏览 评分:0.0