[编程入门]自定义函数之字符串连接 两行搞定!
摘要:解题思路:注意事项: 哈哈哈哈哈哈,没骗你吧参考代码:#include"bits/stdc++.h"
using namespace std;int main(){st……
没用strcat,用的gets和puts,
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void lianj(char f1[],char f2[]){ int k,i,p; ……
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'……