会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BK-rewrite
博客园
首页
新随笔
联系
订阅
管理
2022年2月26日
不使用C++11的int和string相互转换的方法
摘要: int转string:使用sprintf把int存在char数组中,然后再用string进行初始化把char数组转string 1 #include <iostream> 2 #include <stdio.h> 3 #include<cmath> 4 #include <string> 5 6 u
阅读全文
posted @ 2022-02-26 21:11 BK-rewrite
阅读(59)
评论(0)
推荐(0)
2022年2月7日
linux的g++编译报错error: expected unqualified-id before string constant __BEGIN_DECLS
摘要: 可能是定义完类没加“;” 仔细查找补上就行了
阅读全文
posted @ 2022-02-07 00:18 BK-rewrite
阅读(1097)
评论(0)
推荐(0)
2020年12月15日
TCP、UDP概念
摘要: 菜鸟级理解,可能有误,参考即可 TCP相对于UDP最大的特点是面向连接、字节流和可靠传输 使用TCP协议通信的双方必须先建立连接,然后才能开始数据的读写。双方都必须为该连接分配必要的内核资源,以管理连接的状态和连接上数据的传输。 TCP是双工的,即双方的数据的读写可以通过一个进行。完成数据交换之后,
阅读全文
posted @ 2020-12-15 15:52 BK-rewrite
阅读(132)
评论(0)
推荐(0)
2020年10月27日
解决LINK : fatal error LNK1104: 无法打开文件“xxxx.lib”
摘要: 举个例子
阅读全文
posted @ 2020-10-27 22:06 BK-rewrite
阅读(2617)
评论(0)
推荐(0)
2020年9月23日
ORA-01078: failure in processing system parameters 问题的解决方法(oracle 11g)
摘要: https://blog.csdn.net/lzwgood/article/details/26358725
阅读全文
posted @ 2020-09-23 23:24 BK-rewrite
阅读(188)
评论(0)
推荐(0)
2020年9月15日
centos7 出现/usr/bin/ld: cannot find -lssl 和 /usr/bin/ld: cannot find -lcrypto
摘要: yum -y install openssl*
阅读全文
posted @ 2020-09-15 21:09 BK-rewrite
阅读(542)
评论(0)
推荐(0)
2020年9月2日
Package has no installation candidate解决方法
摘要: 参考文章: https://blog.csdn.net/lan120576664/article/details/50373571
阅读全文
posted @ 2020-09-02 14:02 BK-rewrite
阅读(827)
评论(0)
推荐(0)
2020年8月2日
makefile管理项目
摘要: makefile: 管理项目。 命名:makefile Makefile make 命令 1 个规则: 目标:依赖条件 (一个tab缩进)命令 1. 目标的时间必须晚于依赖条件的时间,否则,更新目标 2. 依赖条件如果不存在,找寻新的规则去产生依赖条件。 ALL:指定 makefile 的终极目标。
阅读全文
posted @ 2020-08-02 21:41 BK-rewrite
阅读(198)
评论(0)
推荐(0)
2020年7月28日
WinSocket01
摘要: 启动windows平台下的Socket 1 #define WIN32_LEAN_AND_MEAN 2 #include<windows.h> 3 #include<WinSock2.h> 4 5 //#pragma comment(lib,"ws2_32.lib") 6 7 int main()
阅读全文
posted @ 2020-07-28 15:11 BK-rewrite
阅读(101)
评论(0)
推荐(0)
windows.h和WinSock2.h出现重定义API
摘要: 有两种常用的解决方法:1、把WinSock2.h写在windows.h之前 2、使用宏定义#define WIN32_LEAN_AND_MEAN
阅读全文
posted @ 2020-07-28 14:50 BK-rewrite
阅读(439)
评论(0)
推荐(0)
下一页
公告