题解列表

筛选

字符逆序 (C语言代码)

摘要:解题思路:可以先把字符存放在数组里,然后利用字符串计算长度的函数求出其长度,最后利用循环从数组的尾开始输出。注意事项:参考代码:#include<stdio.h>#include<string.h>i……

字符串链接 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1; string……

字符排序 (C语言代码)

摘要:解题思路:稍微改一下冒泡排序,我觉得这道题出的不好,没把空格算进去注意事项:参考代码:#include<stdio.h>#include<string.h>void bubble_sort(char*……