摘要: 1、在linux的登录界面 alt +ctrl+f2 进入命令模式 2、切换到root账号,su root,输入密码 3、/usr/bin/vi /etc/profile ,然后修改回去,保存,重启 参考:https://blog.csdn.net/wk_sky/article/details/88 阅读全文
posted @ 2020-08-13 13:28 KwinWei 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 网上很多文章讲这个问题,但大多都仅仅是说用Linux下的mutex替代Windows下的CRITICAL_SECTION:pthread_mutex_lock​、pthread_mutex_unlock。再说的多一些的,无非是用类的构造和析构函数来封装一下。 这里忽略了一个很重要的细节,Window 阅读全文
posted @ 2020-08-13 13:23 KwinWei 阅读(1602) 评论(0) 推荐(0) 编辑
摘要: 1、 rapidjson官网:http://rapidjson.org/zh-cn/ /* 解析JSON数据 并将解析的数据转为 int型 入参: char* JSONInfo 待解析JSON数据 char* Key 待解析的JSON中Key 出参: int* Value 解析出的Value值 返回 阅读全文
posted @ 2020-08-13 13:22 KwinWei 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 转载于:https://www.cnblogs.com/ziheIT/p/8906519.html 1.从官网下载压缩包(话说下载下来解压就直接可以运行了咧,都不需要make) 访问Visual Studio Code官网 https://code.visualstudio.com/docs?dv= 阅读全文
posted @ 2020-08-13 13:21 KwinWei 阅读(5938) 评论(0) 推荐(0) 编辑