编写题解 1206: 字符串问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str; c…… 题解列表 2022年03月31日 0 点赞 0 评论 162 浏览 评分:0.0
1126:C语言训练-字符串正反连接题解 摘要:解题思路:此题是字符串中比较简单的一题了。我们用一个循环输入字符串,再用一个循环倒序输出一下。则循环参数从字符串的长度-1开始,到0结束,因为字符串的下标从0开始。然后每次循环参数-1,每次输出字符串…… 题解列表 2022年03月29日 0 点赞 0 评论 231 浏览 评分:0.0
字符串问题(极简) 摘要:解题思路:极简注意事项:参考代码:#include<iostream>usingnamespacestd;intmain(){ string…… 题解列表 2025年02月03日 0 点赞 0 评论 227 浏览 评分:0.0
题解 1206: 字符串问题 摘要:解题思路:1.首先,定义一个字符串2.运用gets函数输入3.获得字符串的长度4.字符串的长度与数组的实际为序大15.从后向前输出字符串注意事项:参考代码:#include<stdio.h> #in…… 题解列表 2022年03月08日 0 点赞 0 评论 280 浏览 评分:0.0
用指针完成颠倒位置 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void DD(char *a){ char *p = a; char temp; while(*a != '\0') …… 题解列表 2018年03月17日 0 点赞 0 评论 804 浏览 评分:0.0
字符串问题 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 字符串问题 { public static void main(String[] args) { // TODO Auto-gen…… 题解列表 2018年05月11日 0 点赞 0 评论 805 浏览 评分:0.0
字符串问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; int main() { char a[3…… 题解列表 2018年05月17日 0 点赞 0 评论 722 浏览 评分:0.0
字符串问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int fun(char *p1,char *p2);int main(){ int L; …… 题解列表 2018年12月11日 0 点赞 0 评论 1075 浏览 评分:0.0
字符串问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]={0};char b[100]={0};int…… 题解列表 2019年01月20日 0 点赞 0 评论 465 浏览 评分:0.0