会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
TOBESTRONGEST
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
17
下一页
2021年1月24日
C++出现:error: passing 'const Employee' as 'this' argument of 'int Employee::getSalary()' discards qualifiers [-fpermissive]
摘要: 代码如下: #include <iostream> #include <map> #include <string> #include <ctime> #define MAX 10 using namespace std; class Employee{ public: string m_Name;
阅读全文
posted @ 2021-01-24 15:35 撑死算工伤吗
阅读(317)
评论(0)
推荐(0)
2021年1月23日
C++出现error: no match for call to '(MyCompare) (const key_type&, const Person&)'
摘要: 以下是代码: #include <iostream> #include <string> #include <typeinfo> #include <vector> #include <deque> #include <list> #include <set> #include <map> #inc
阅读全文
posted @ 2021-01-23 17:42 撑死算工伤吗
阅读(1676)
评论(1)
推荐(0)
2021年1月19日
CentOS 7出现ifconfig:command not found
摘要: 【原因】ubuntu上的ifconfig命令换成ip addr 【问题】用ip addr查看网络状况,发现不能上网,且ens33(或者eth0等等)也没有分配IP地址 【解决】修改配置文件: 【1】cd /etc/sysconfig/network-scripts 【2】 ls //找到后缀ens3
阅读全文
posted @ 2021-01-19 15:07 撑死算工伤吗
阅读(110)
评论(0)
推荐(0)
有效清理C盘内存
摘要: 1、转移虚拟内存 2、C:\Windows\Temp文件夹下的东西可以删除 3、C:\Windows\prefetch文件夹下的东西可以删除 4、C:\Windows\System32\LogFiles文件夹下的东西可以删除
阅读全文
posted @ 2021-01-19 11:42 撑死算工伤吗
阅读(243)
评论(0)
推荐(0)
2021年1月17日
重装系统之后出现https:/ / logincdn.msauth.net/shared/1.0/content/js/ConvergedLogin_PCore_xxvbETmiVPe1AsI9xwHp3A2.js
摘要: 重装了Windows10专业版,在工作后关闭所有软件窗口,在桌面发现弹出下面错误的窗口: 解决办法: 尝试下干净启动,重启后手动关闭第三方安全优化软件,然后在任务管理器中查看下是否有其它的三方软件正在运行,全部关闭: 1、Win+R输入:msconfig 打开系统配置 2、点击”服务”标签卡,勾选”
阅读全文
posted @ 2021-01-17 08:38 撑死算工伤吗
阅读(30838)
评论(0)
推荐(0)
2021年1月11日
C++/QT运行时出现void value not ignored as it ought to be
摘要: 编译时出现“void value not ignored as it ought to be”错误,原因是因为,一个函数的返回值为void,但是你又把这个函数的返回值赋值给了一个具体类型的变量。 注意函数声明和函数实现的返回值要一致; 或者函数返回值为void,就不要再返回任何东西了。
阅读全文
posted @ 2021-01-11 18:05 撑死算工伤吗
阅读(2920)
评论(0)
推荐(0)
2021年1月10日
运行QT项目文件夹下的exe文件提示找不到“各种dll”
摘要: 将QT库添加到系统变量 Qt Creator编译的程序,在其工程文件夹下会有一个debug文件夹,其中有程序的.exe可执行文件。但Qt Creator默认是用动态链接的,就是可执行程序在运行时需要相应的.dll文件。我们点击生成的.exe文件,首先可能显示“没有找到mingwm10.dll,因此这
阅读全文
posted @ 2021-01-10 19:54 撑死算工伤吗
阅读(2603)
评论(0)
推荐(0)
2020年10月1日
Ubuntu16.04配置OpenCV3.2.0
摘要: 一、前期工具准备 1、Ubuntu16.04LTS 2、opencv-3.2.0.zip 3、opencv_contrib-3.2.0.zip 二、安装依赖包 sudo apt-get install cmake libgtk2.0-dev libavcodec-dev libavformat-de
阅读全文
posted @ 2020-10-01 15:58 撑死算工伤吗
阅读(115)
评论(0)
推荐(0)
2020年8月2日
makefile:3: *** missing separator. Stop.
摘要: 在创建Makefile文件后执行“make”命令出现错误: makefile:3: *** missing separator. Stop. 原因: gcc的前面需要用tab键来隔开,不能敲4个空格代替。 解决办法: 在~/.vimrc文件中添加: set tabstop=4 //设置tab键是4个
阅读全文
posted @ 2020-08-02 22:08 撑死算工伤吗
阅读(2266)
评论(0)
推荐(0)
2020年7月29日
shell编程实例B01
摘要: 1、查看用户、密码信息 su - username 用于完全切换用户,最好不要用su username $USER:当前用户名 $UID:当前用户ID cat /etc/group:查看所有用户组信息 cat /etc/passwd:查看所有用户密码信息 passwd -S username:查看登
阅读全文
posted @ 2020-07-29 22:05 撑死算工伤吗
阅读(201)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
17
下一页
公告