C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:把字符串逆序,然后用字符串的链接函数strcat输出注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[50];…… 题解列表 2018年08月16日 0 点赞 0 评论 642 浏览 评分:0.0
C语言训练-字符串正反连接 (C++代码) 摘要:解题思路:注意事项:C++是世界上最好的语言~~参考代码:#include <iostream>#include <algorithm>#include <string>using namespace…… 题解列表 2018年10月05日 0 点赞 0 评论 778 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"void reverse(int n, char s[]){ int i; for (i = n - 1; i >= 0; …… 题解列表 2018年10月30日 0 点赞 0 评论 319 浏览 评分:0.0
C语言训练-字符串正反连接 (C++代码)C++之string类的特性 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstring> #include <string> #include <cmath> #include …… 题解列表 2018年11月08日 1 点赞 0 评论 505 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i=0,len; char str1[50]; char str2[…… 题解列表 2018年11月25日 0 点赞 0 评论 530 浏览 评分:0.0
C语言训练-字符串正反连接 (C++代码) 摘要:解题思路:两头的for循环实现拼接功能 中间for循环实现将字符串反向的功能注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k; char …… 题解列表 2018年11月27日 0 点赞 0 评论 665 浏览 评分:0.0
C语言训练-一行代码搞定 字符串正反连接 (Java代码) 摘要:参考代码:import java.util.Scanner;public class Main1126 { public static void main(String[] args) { …… 题解列表 2018年11月27日 1 点赞 0 评论 571 浏览 评分:0.0
。。比较简单的一种方法。。:C语言训练-字符串正反连接 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main() { int k,i; char str[100]; gets(str); pri…… 题解列表 2019年02月21日 3 点赞 0 评论 678 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s1[100],s2[100]; int i,j=0; …… 题解列表 2019年03月03日 1 点赞 0 评论 519 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,k,b[50],j; char a[50]; gets(a); …… 题解列表 2019年04月14日 0 点赞 0 评论 373 浏览 评分:0.0