C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args…… 题解列表 2018年07月23日 0 点赞 0 评论 1274 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:正向输出一遍,反向输出一遍注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char ch[53]; gets(c…… 题解列表 2018年07月06日 0 点赞 0 评论 1210 浏览 评分:0.0
C语言训练-字符串正反连接 (C++代码) 摘要:注意事项:VS2017是gets_s()不是gets().参考代码:#include<iostream> #include<cstring> using namespace std; int m…… 题解列表 2018年06月01日 1 点赞 0 评论 1598 浏览 评分:6.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:输出两次,第一次输出正序,第二次逆序输出注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int i; cha…… 题解列表 2018年05月02日 0 点赞 0 评论 1761 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:# include<stdio.h># include<string.h>int main(){ int n,i; char a[100]; gets(a); n=str…… 题解列表 2018年04月13日 0 点赞 0 评论 1805 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void newcat(char *p){ char *a = p; while(*p != '\0') { p++;…… 题解列表 2018年03月17日 0 点赞 0 评论 1356 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:/*所给字符串正序和反序连接,形成新串并输出*/#include <stdio.h>#include <stdlib.h>int main(){ int i,j; cha…… 题解列表 2018年03月08日 0 点赞 0 评论 1935 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<string.h> int main() { int i,str; char n[100];//定义100是因…… 题解列表 2018年03月06日 0 点赞 0 评论 1727 浏览 评分:0.0
NINA-题解1126:C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:逆序时,只用循环len/2次,然后头尾以此交换。注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a…… 题解列表 2018年03月02日 0 点赞 0 评论 1828 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:利用发现的数学公式来解此题比较方便注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){ int i, c, len; char …… 题解列表 2018年02月26日 0 点赞 0 评论 1389 浏览 评分:0.0