编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:我记得之前老师提过最简单的字符串连接方式,就是在输出的时候拼接字符串,能做到在控制台输出就是字符串拼接的效果。或者使用集合来做,将字符串分别加入集合中,然后输出集合元素。注意事项:参考代码:…… 题解列表 2021年09月01日 0 点赞 0 评论 245 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:import java.io.*; public class Main { public static BufferedReader in = new BufferedReader(n…… 题解列表 2021年12月11日 0 点赞 0 评论 313 浏览 评分:0.0
字符串连接-C语言 摘要:解题思路:首先要输入两个字符串,这里用gets()函数可实现,scanf()函数更像是输入单个字符;输入字符串后要按顺序连接,则需要判断什么时候将第二个字符串连接至第一个字符串后面;这里用了for()…… 题解列表 2021年12月13日 0 点赞 0 评论 252 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class 自定义函数之字符串连接 { public static void main(…… 题解列表 2021年12月18日 0 点赞 0 评论 145 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void my_strcat(char *pa,char *pb,int len) //定义我…… 题解列表 2021年12月27日 0 点赞 0 评论 201 浏览 评分:0.0
C++代码String库函数,for循环,索引 摘要:解题思路:for循环,索引注意事项:暂时不明参考代码:#include<iostream>#include<string>using namespace std;int main(){ stri…… 题解列表 2021年12月27日 0 点赞 0 评论 241 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:【原理】,不使用<string.h>头文件,不使用字符串连接函数,使用指针注意事项:参考代码:#include <stdio.h>#include <stdlib.h>char *MyStr…… 题解列表 2022年01月18日 0 点赞 0 评论 255 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:```c #include #include int main() { void lian(char a[], char b[]); char a[10], b[10]; gets…… 题解列表 2022年01月18日 0 点赞 0 评论 337 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(python代码) 摘要:解题思路:“+”将两个字符串连接。注意事项:参考代码:a = input()b=input()print(a+b)…… 题解列表 2022年01月25日 0 点赞 0 评论 562 浏览 评分:0.0
【露离】单行代码,编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:def main(): print(input()+input())main()…… 题解列表 2022年02月05日 0 点赞 0 评论 163 浏览 评分:0.0