会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
江南王小帅
春风得意马蹄疾,一日看尽长安花
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
29
下一页
2022年7月13日
总结openwrt下通过修改init.d和rc.d来创建自启动脚本的步骤
摘要: 直奔主题,具体步骤如下: 1. 运行终端 2. cd /etc/init.d # 进入init.d目录 3. vim test 4. 在打开的test文件中加入以下内容: #!bin/sh /etc/rc.common #/init.d/my-test START=75 start(){ insmo
阅读全文
posted @ 2022-07-13 11:39 江南王小帅
阅读(2096)
评论(0)
推荐(0)
2022年7月11日
iCCP: known incorrect sRGB profile警告信息之解决方法
摘要: Qt :libpng warning: iCCP: known incorrect sRGB profile警告信息之解决方法 Qt 1、从ImageMagick的官网下载压缩包,地址: http://www.imagemagick.org/script/binary-releases.php 根据
阅读全文
posted @ 2022-07-11 08:14 江南王小帅
阅读(2376)
评论(0)
推荐(0)
2022年7月6日
随机获取0~9 不重复的四个数字
摘要: #include<iostream>#include<string>#include<algorithm>#include<ctime>using namespace std; string Random_Result() { char temp[] = "1234567890"; random_s
阅读全文
posted @ 2022-07-06 09:22 江南王小帅
阅读(476)
评论(0)
推荐(0)
main 函数
摘要: 1 main函数 中的内容不宜过多。 2 当想在main函数中使用while时候,可以这样做: int main() {while(function1) //此处的while的循环体是一个空语句。 } function1() { 。。。 return 1; } // example #include
阅读全文
posted @ 2022-07-06 08:59 江南王小帅
阅读(313)
评论(0)
推荐(0)
2022年7月5日
printStar
摘要: #include<iostream>using namespace std; /* * * * * * * * * * ** * * * ** * * * * * * * * * * * * * **/ void starup(int n) { for (int i = 1; i <= n; i++
阅读全文
posted @ 2022-07-05 16:25 江南王小帅
阅读(92)
评论(0)
推荐(0)
引用 双向传值
摘要: #include<iostream>using namespace std; /*引用双向传值 /* */ void func(int num) { num++;}void func2(int &pint) { pint++;} int main() { int value = 4; func(va
阅读全文
posted @ 2022-07-05 15:07 江南王小帅
阅读(20)
评论(0)
推荐(0)
动态分配一维数组的存储空间
摘要: #include<iostream>using namespace std; /* type *p p = new type[num] ... delete []p */ /* 分配100个整数空间,将1到100存储在这100个连续的空间里*/int main() { int *p; p = new
阅读全文
posted @ 2022-07-05 10:59 江南王小帅
阅读(65)
评论(0)
推荐(0)
用new运算符初始化但个数据存储区
摘要: #include<iostream>using namespace std;int main() { int *p; p = new int(100); if (p == NULL) { cout << "allocation failure" << endl; } else { cout << "
阅读全文
posted @ 2022-07-05 10:50 江南王小帅
阅读(45)
评论(0)
推荐(0)
动态分配与释放 单个数据的存储区
摘要: #include<iostream>using namespace std;int main() { int *p; p = new int; if (p == NULL) { cout << "allocation failure" << endl; } else { *p = 15; cout
阅读全文
posted @ 2022-07-05 10:47 江南王小帅
阅读(26)
评论(0)
推荐(0)
Win7如何使文件夹视图默认按详细信息进行布局
摘要: 本人感觉自己强迫症和懒癌晚期,我习惯打开电脑磁盘的时候文件夹的视图是按详细信息选项进行布局的,因为可以看到该文件最多的信息,不然每次都得点击一下太麻烦了,于是百度了一下,这里记录一下,如下: 1.打开一个文件夹,默认是图标显示的,我们把视图更改为"详细信息",然后我们点击"组织"以及"文件夹和搜索选
阅读全文
posted @ 2022-07-05 10:04 江南王小帅
阅读(2404)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
29
下一页
公告