- 博客(5)
- 收藏
- 关注
原创 ZYNQ 7020 XME0724 linux 系统没有 hit any key to stop autoboot
ZYNQ 7020 XME0724 linux 系统没有 hit any key to stop autoboot,出现的现象如下:设置命令为:setenv bootcmd run default_bootcmd保存命令为:saveenv重启即可解决问题!!
2020-12-24 14:28:57
1435
4
原创 字符串统计字符个数
//========================================//*create time :2020-05-19 11:17//*filename:practice.c//*description:统计字符串个数 字符范围在0-256之间,所以可以定义一个数组,值对应的加1//========================================#include <stdio.h>#include <stdlib.h>#incl.
2020-05-21 19:57:34
304
原创 字符串左、右移n位
//========================================//*author: BBG//*email:2625696827@qq.com//*create time :2020-05-19 11:17//*filename:practice.c//*description:字符串右移n位//思路:主要判断数组左移存放位置 *(q + ((i + n) % ret)) = *(p + i);//同样右移也是如此交换等式左右2边//=================
2020-05-20 16:00:33
281
原创 无序字符串去重打印所有字符出现的个数
//========================================//*email:2625696827@qq.com//*description:无序字符查重统计出现次数//========================================#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){char a[] = “abcdeaaccdfg”
2020-05-20 09:47:29
142
原创 c程序---将一句话中的单词(字符串)倒置,标点符号位置不变
#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){char a[] = “my name, is hello!”; char p = a;int len = strlen§;int i = 0;int indexstar = 0, indexend = 0; //定义交换的始终维下标while(i < strlen§+1) { //循环条件:测量字符
2020-05-20 09:15:20
693
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人