Airuf
码龄8年
求更新 关注
提问 私信
  • 博客:32,422
    32,422
    总访问量
  • 25
    原创
  • 3
    粉丝
  • 42
    关注
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:福建省
加入CSDN时间: 2017-04-17
博客简介:

qq_38362761的博客

查看详细资料
个人成就
  • 获得4次点赞
  • 内容获得4次评论
  • 获得24次收藏
  • 代码片获得193次分享
  • 博客总排名765,400名
创作历程
  • 1篇
    2022年
  • 26篇
    2017年
成就勋章
TA的专栏
  • linux
    1篇
  • Python
    1篇
  • C/C++
    2篇
  • QT

TA关注的专栏 1

TA关注的收藏夹 0

TA关注的社区 0

TA参与的活动 0

兴趣领域 设置
  • 大数据
    数据仓库
创作活动更多

新星杯·14天创作挑战营·第13期

这是一个以写作博客为目的的创作活动,旨在鼓励大学生博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。我们诚挚邀请你们参加为期14天的创作挑战赛!注: 1、参赛者可以进入活动群进行交流、互相鼓励与支持(开卷),虚竹哥会分享创作心得和涨粉心得,答疑及活动群请见:https://bbs.csdn.net/topics/619781944 【进活动群,得奖概率会更大,因为有辅导】 2、文章质量分查询:https://www.csdn.net/qc

90人参与 去参加
  • 最近
  • 文章
  • 专栏
  • 代码仓
  • 资源
  • 收藏
  • 关注/订阅/互动
更多
  • 最近

  • 文章

  • 专栏

  • 代码仓

  • 资源

  • 收藏

  • 关注/订阅/互动

  • 社区

  • 帖子

  • 问答

  • 课程

  • 视频

搜索 取消

LINUX UBOOT bootdelay设置为0解决办法

在common文件夹中有main.c 把bootdelay_process(); 注释,之后就可以直接进配置环境。
原创
博文更新于 2022.01.09 ·
1441 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

C/C++ | 25-16 实现子串定位int FindSubStr

实现子串定位int FindSubStr(const char *MainStr, const char *SubStr)#include #include #include #include #include #include #include #include #include using namespace std;int FindSubStr(c
原创
博文更新于 2017.07.27 ·
554 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C/C++ | 29-21 两个字符串,s,t;把t字符串插入到s字符串中,s字符串有足够的空间存放t字符串

/*========================================================c和指针(《pointers on c》) 8.1.11一个字符串,如"hello",一般为字符串常量,可以用它对字符指针赋值,或初始化,相当于把这个字符串常量的首地址赋给这个指针,如:char *p = "hello";或者char *p;p="hello";但是
原创
博文更新于 2020.04.06 ·
1973 阅读 ·
0 点赞 ·
1 评论 ·
2 收藏

Python 语法元素

Python 3.x 保留字列表 (33个)andelifimportraiseaselseinreturnassertexceptistrybreakfinallylambdawhileclassfornonlocalwithcontinuefrom
原创
博文更新于 2017.09.06 ·
393 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

C/C++ | 31-29 求1000!的未尾有几个0(用素数相乘的方法来做,如72=2*2*2*3*3)

求1000!的未尾有几个0(用素数相乘的方法来做,如72=2*2*2*3*3);求出1->1000里,能被5整除的数的个数n1,能被25整除的数的个数n2,能被125整除的数的个数n3,能被625整除的数的个数n4.1000!末尾的零的个数=n1+n2+n3+n4;#include #define NUM 1000using namespace std;in
原创
博文更新于 2017.09.06 ·
579 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C/C++ | 31-28 函数比较两个字符串str1和str2的大小

/*写一个函数比较两个字符串str1和str2的大小,若相等返回0,若str1大于str2返回1,若str1小于str2返回-1*/#include #include #include using namespace std;int strmp(char *s1, char *s2){ while (*s1 == *s2) { if (*s1 == '
原创
博文更新于 2017.07.28 ·
2208 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

C/C++ | 30-27 给定字符串A和B,输出A和B中的最大公共子串

给定字符串A和B,输出A和B中的最大公共子串。比如A="aocdfe" B="pmcdfa" 则输出"cdf"#include #include #include using namespace std;char *strcmp(char *s1,char *s2,char *dest){ char*scmp2=s2; int count = 0, t
原创
博文更新于 2017.07.28 ·
2464 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

C/C++ | 30-26 函数在给定的内存区域搜索给定的字符,返回索引值

请编写一个 C 函数,该函数在给定的内存区域搜索给定的字符,并返回该字符所在位置索引值int search(char *s, char ch, int n){ int i; int m = strlen(s); for (i = 0; i<n && *(s + i) != ch; ++i); if ( i>=m) { cout << "No find tar
原创
博文更新于 2017.07.28 ·
1436 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

C/C++ | 30-25 在一个字符串中找到可能的最长的子字符串

编写一个 C 函数,该函数在一个字符串中找到可能的最长的子字符串,且该字符串是由同一字符组成的。#include #include #include #include #include #include #include #include #include using namespace std;void FindMaxLong(char *s,ch
原创
博文更新于 2017.07.28 ·
1451 阅读 ·
0 点赞 ·
1 评论 ·
1 收藏

C/C++ | 30-24 两个字符串,s,t;把t字符串插入到s字符串中,s字符串有足够的空间存放t字符串

void insert(char *s, char *t, int i){memcpy(&s[strlen(t)+i],&s[i],strlen(s)-i);memcpy(&s[i],t,strlen(t));s[strlen(s)+strlen(t)]=’\0′;}
原创
博文更新于 2017.07.28 ·
995 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

C/C++ | 28-20 写出程序删除链表中的所有节点

/*删除所有链表的节点*/#include #include #include #include #include #include #include #include #include using namespace std;typedef struct LNode{ int data; struct LNode *next;}LNode;LNode
原创
博文更新于 2017.07.27 ·
1559 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

C/C++ | 27-19 写出程序把一个链表中的接点顺序倒排

#include #include #include #include #include #include #include #include #include using namespace std;typedef struct LNode{ int data; struct LNode *next;}LNode;LNode *CreateLink(int
原创
博文更新于 2017.07.27 ·
799 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C/C++ | 27-18 n的无序数组,求排序算法,并且要求时间复杂度为O(n)

/*写出程序把一个链表中的节点顺序倒排*/#include #include #include #include #include #include #include #include #include using namespace std;typedef struct LNode{ int data; struct LNode *next;}LN
原创
博文更新于 2017.07.27 ·
341 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C/C++ | 26-17 已知一个单向链表的头,删除其某一个结点的算法

/*已知一个单向链表的头,请写出删除其某一个结点的算法,要求,先找到此结点,然后删除。*/#include #include #include #include #include #include #include #include #include using namespace std;typedef struct LNo
原创
博文更新于 2017.07.27 ·
2800 阅读 ·
0 点赞 ·
2 评论 ·
6 收藏

C/C++ | 25-15 实现strcmp,int StrCmp(const char *str1, const char *str2)

实现strcmp,int StrCmp(const char *str1, constchar *str2)若str1==str2,则返回零;若str1,则返回负数;若str1>str2,则返回正数。#include #include #include #include #include #include #include #include #i
原创
博文更新于 2017.07.27 ·
2080 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

C/C++ | 24-14 间隔删数组,求最后一个被删掉的数的原始下标位置

有一个数组a[1000]存放0--1000;要求每隔二个数删掉一个数,到末尾时循环至开头继续进行,求最后一个被删掉的数的原始下标位置。/*有一个数组a[1000]存放0--1000;要求每隔二个数删掉一个数,到末尾时循环至开头继续进行,求最后一个被删掉的数的原始下标位置。*/#include #include #include #include #include
原创
博文更新于 2017.07.27 ·
537 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C/C++ | 23-13 求此数列前20项的和

有一分数序列:1/2,1/4,1/6,1/8……,用函数调用的方法,求此数列前20项的和#include #include #include #include #include #include #include #include #include using namespace std;double getval(int n){ double re
原创
博文更新于 2017.07.27 ·
1039 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C/C++ | 23-12 用指针的方法,将字符串“ABCD1234efgh”前后对调显示

/*用指针的方法,将字符串“ABCD1234efgh”前后对调显示*/#include #include #include #include #include using namespace std;int main(){ char str[] = "ABCD1234efgh"; int length = strlen(str); char
原创
博文更新于 2017.07.27 ·
2781 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

C/C++ | 22-11 栈求组合数

/*求组合数: 求n个数(1….n)中k个数的组合….如:combination(5,3)要求输出:543,542,541,532,531,521,432,431,421,321,#include #include #include #include #include #include #include #include #include using nam
原创
博文更新于 2017.07.27 ·
591 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C/C++ | 22-10 不用库函数,用C语言实现将一整型数字转化为字符串

/*不用库函数,用C语言实现将一整型数字转化为字符串*/#include #include #include #include #include using namespace std;char *inverse(int num,char *str2){ int i = 0; int str1[100]; while (num) //倒叙存放
原创
博文更新于 2017.07.15 ·
651 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多