会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
江南王小帅
春风得意马蹄疾,一日看尽长安花
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
29
下一页
2022年6月15日
awk: include/scan.awk: line 21: function asort never defined
摘要: 解决方法:sudo apt-get install gawk
阅读全文
posted @ 2022-06-15 13:09 江南王小帅
阅读(210)
评论(0)
推荐(0)
2022年6月13日
配置log文件
摘要: ; > Get Time gettime timestr "%Y%m%d-%H%M%S" ; >Get current pathgetdir mdir sprintf2 filename '%s\Log\%s_%s.log' mdir Macstr timestr
阅读全文
posted @ 2022-06-13 11:38 江南王小帅
阅读(40)
评论(0)
推荐(0)
读取文本
摘要: fileopen fhandle 'sfcs.txt' 0 while 1 ; Read a line from the file. filereadln fhandle line filereadln fhandle line if result=1 then break endif strspl
阅读全文
posted @ 2022-06-13 11:36 江南王小帅
阅读(38)
评论(0)
推荐(0)
inputbox
摘要: :input_MAC inputbox 'please Input MAC:' 'please Input MAC' strlen inputstr if result != 12 then goto input_MAC else Macstr = inputstr endif
阅读全文
posted @ 2022-06-13 11:35 江南王小帅
阅读(380)
评论(0)
推荐(0)
2022年5月28日
Ubuntu终端不显示用户名,只显示$
摘要: Ubunt不显示用户名 只显示"$“符号,回退键会变为”^H",tab键直接空格时,解决办法: 1.执行命令 sudo -s2.切换到root帐户下,然后再用命令:vim /etc/passwd3.点击i(进入插入模式)4.找对对应的用户名 一行,将最后的 /bin/sh 修改为/bin/bash5
阅读全文
posted @ 2022-05-28 15:41 江南王小帅
阅读(2820)
评论(0)
推荐(1)
2022年5月6日
QT系列之混合方式UI设计【最常用】
摘要: 最终效果图: 代码: mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include<QProgressBar> #include<QLabel> #include<QFontComboBo
阅读全文
posted @ 2022-05-06 16:47 江南王小帅
阅读(357)
评论(0)
推荐(0)
QT系列之 代码搭建UI界面
摘要: 最终效果图:【文章最后会放上代码】 一:不要勾选Generate Form 二:头文件中声明 控件 声明初始化UI界面的函数 三:构建控件 四:声明槽函数,定义槽函数 代码: dialog.h文件 #ifndef DIALOG_H #define DIALOG_H #include <QDialog
阅读全文
posted @ 2022-05-06 11:25 江南王小帅
阅读(1361)
评论(0)
推荐(0)
QT系列之 checkBox && radioButton的应用
摘要: #include "dialog.h" #include "ui_dialog.h" Dialog::Dialog(QWidget *parent) : QDialog(parent) , ui(new Ui::Dialog) { ui->setupUi(this); QObject::connec
阅读全文
posted @ 2022-05-06 09:51 江南王小帅
阅读(128)
评论(0)
推荐(0)
2022年4月2日
C++ 线程(std::thread)
摘要: 1.创建一个线程 创建线程比较简单,使用std的thread实例化一个线程对象就创建完成了,示例: #include <iostream>#include <thread>using namespace std; void t1() //普通的函数,用来执行线程{ for (int i = 0; i
阅读全文
posted @ 2022-04-02 10:51 江南王小帅
阅读(754)
评论(0)
推荐(0)
2022年3月16日
fputs 向文本写数据
摘要: #include<iostream>#include<cstdio>#include<algorithm> #pragma warning(disable : 4996) using namespace std; int main() { char str[1000] = "123hello all
阅读全文
posted @ 2022-03-16 14:16 江南王小帅
阅读(43)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
29
下一页
公告