[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:采用指针的方法把字符串传递给自定义函数,并将结果放到指定的数组中 参考代码: ```c #include void strlink(char* des,char* str,char* s);…… 题解列表 2019年12月10日 0 点赞 3 评论 1663 浏览 评分:9.1
一位热心的老大爷-精简-不用库函数-自定义函数之字符串连接-题解(C语言代码) 摘要: #include #define N 20 int main(){ char s1[N]={'\0'},s2[N]={'\0'}; …… 题解列表 2019年12月05日 0 点赞 0 评论 784 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(Python代码)简单描述 摘要:python简单描述一下就可以,字符串相加即可 ```python def connect(a,b): print(a+b) a=input() b=input() connect…… 题解列表 2019年11月30日 0 点赞 0 评论 1339 浏览 评分:9.9
[编程入门]自定义函数之字符串连接-极其麻烦但是锻炼思维的方法 摘要:#include #include main() { int t,s,i,n,h=0; char a[100],b[100],c[100];//c是空数组 gets(…… 题解列表 2019年11月27日 0 点赞 0 评论 632 浏览 评分:8.5
[编程入门]自定义函数之字符串连接-题解(Python代码) 摘要:两个输入,然后直接用+号连接ok,python就是简洁,。。。。。。。。。。 ``` list1 = input() list2 = input() print(list1+list2…… 题解列表 2019年11月24日 0 点赞 0 评论 695 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(Python代码) python 摘要:```python a=input()#输入数据 b=input()#输入数据 print(a+b)#python 中 + 好可以 连接字符串(/滑稽)emmmmmmmmmmmmmmmmmmm…… 题解列表 2019年11月21日 0 点赞 0 评论 603 浏览 评分:2.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:\ #include #include int main() { char a[100],b[100]; …… 题解列表 2019年11月16日 0 点赞 0 评论 431 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要: #include //char *STRCAT(char *dest, const char *src) //{ // char *tmp = dest;…… 题解列表 2019年11月02日 0 点赞 0 评论 319 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:### 自己构造函数,至于那个strlen,我是懒得遍历了,可以自行遍历修改判断条件查找结束符,之后都一样。 ```c #include #include #define N 10…… 题解列表 2019年10月24日 0 点赞 0 评论 1585 浏览 评分:9.9
[编程入门]自定义函数之字符串连接-题解(C语言代码)按照题意写 摘要:原题链接:[编程入门]自定义函数之字符串连接 参考代码: ------------ #include #include #include char a[…… 题解列表 2019年10月06日 0 点赞 0 评论 422 浏览 评分:0.0