1032: [编程入门]自定义函数之字符串连接(python)
摘要:#### 无需多言
~~~python
def main():
print(input() + input())
if __name__ == '__main__':
……
编写题解 1032: [编程入门]自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void connect(char a[],char b[]){ int i,j=0; while(a[i]!=0)……
巧用string函数,轻松解决
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ char a[100]; char b[100]; scanf……
编写题解 1032: [编程入门]自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main(char c)
{while((c=getchar())!= EOF){if(c != '\n'……
自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:def lmjp(a,b): print(a+b)a = input()b = input()lmjp(a,b)……
1032字符串连接(strcat函数的使用)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ char a[100],b[100]; ……
自定义函数之字符串连接-简短容易理解
摘要:解题思路:把一个字符串拼接到另一个字符串的末尾注意事项:strcat()函数可在C语言中用于字符串拼接,但如果第一个字符串的空间无法容纳第二个字符串,那么行为未定义,所以str1的长度要足够长。同时s……
[编程入门]自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <string.h>
int main()
{
char a[1000],b[1000],c[200……