上一页 1 2 3 4 5 6 7 ··· 15 下一页
该文被密码保护。 阅读全文
posted @ 2020-10-13 11:07 _** 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 目录 1、饿汉模式(一开始就初始化单例对象) 2、懒汉模式(需要的时候在实例化单例对象) 3、C++11简化版(必看精髓) 4、单例模板 1、饿汉模式(一开始就初始化单例对象) 优点:不用担心多线程问题。 缺点:可能在整个程序中就没有用到这个单例对象,造成浪费。 实现: class Singleto 阅读全文
posted @ 2020-10-13 09:13 _** 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 转自 https://www.jianshu.com/p/fa633d028012 推荐 https://www.cnblogs.com/bosslv/p/11078749.html 详细: 第一步、下载并配置Java环境变量 <1>下载jdk: 这里我下载的版本为:jdk-8u144-linux- 阅读全文
posted @ 2020-10-08 11:33 _** 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 账号:908344069@qq.com 密码:Java2019 来自 https://blog.csdn.net/qq_22321199/article/details/102750113 阅读全文
posted @ 2020-10-08 11:29 _** 阅读(15452) 评论(0) 推荐(2) 编辑
摘要: https://blog.csdn.net/hihell/article/details/86106916 阅读全文
posted @ 2020-09-30 16:32 _** 阅读(90) 评论(0) 推荐(0) 编辑
摘要: http://www.cppblog.com/ldcsaa/archive/2013/05/08/200091.html https://github.com/ldcsaa?tab=repositories 阅读全文
posted @ 2020-09-29 14:34 _** 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 原因是主机有多个网卡,在Edit – Virtual Network Editor里面设置 VMnet0(或者已经有bridge类型的)为bridge类型,bridge to指定的网卡 https://blog.51cto.com/2816056/1158345 阅读全文
posted @ 2020-09-29 11:28 _** 阅读(662) 评论(0) 推荐(0) 编辑
摘要: windows下获取IP地址的两种方法; 一种可以获取IPv4和IPv6,但是需要WSAStartup; 一种只能取到IPv4,但是不需要WSAStartup; 如下: 方法一:(可以获取IPv4和IPv6) #define _WINSOCK_DEPRECATED_NO_WARNINGS #incl 阅读全文
posted @ 2020-09-16 16:52 _** 阅读(889) 评论(0) 推荐(0) 编辑
摘要: 1.切换为中文时区 dpkg-reconfigure tzdata 然后选择Asia→Shanghai,然后重启即可。 2.安装中文字体 apt update apt install xfonts-intl-chinese apt install ttf-wqy-microhei 3.其他小工具 进 阅读全文
posted @ 2020-09-14 23:39 _** 阅读(1928) 评论(0) 推荐(0) 编辑
摘要: 1.安装 https://blog.csdn.net/l824828/article/details/104496440 2.卸载 https://www.cnblogs.com/exmyth/p/4066016.html 阅读全文
posted @ 2020-09-10 11:07 _** 阅读(620) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页