摘要: Ubuntu 16.04,18.04安装高版本cmake 1. Add the official cmake repository wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg 阅读全文
posted @ 2022-03-06 17:34 Alpha2Mao 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 能。可能早先的版本不能,但是c++11标准下能。有人说在声明的时候初始化相当于在构造函数中初始化,其实不是的,成员变量初始化的顺序为:先进行声明时初始化,然后进行初始化列表初始化,最后进行构造函数初始化,如下代码:(另外初始化列表中初始化的顺序是和变量声明的顺序一样,而与列表中的顺序无关) #inc 阅读全文
posted @ 2020-04-14 16:59 Alpha2Mao 阅读(1716) 评论(0) 推荐(0) 编辑
摘要: 大家都知道在Mac OS 系统中,点击窗口左上角中间的小黄按钮就可以最小化当前窗口。而事实上,还有一些比点击这个按钮更快的窗口最小化方法。 使用快捷键 Command+M,可以实现快速最小化当前窗口的目的。 使用快捷键 Command+Option+M,可以实现快速最小化当前应用程序所有窗口的目的。 阅读全文
posted @ 2020-03-30 20:21 Alpha2Mao 阅读(3772) 评论(0) 推荐(1) 编辑
摘要: 1. Install homebrew 2. Install Git and bash-completion: brew install git bash-completion (Note: If this install fails with a 404 error, and you alread 阅读全文
posted @ 2020-03-08 14:55 Alpha2Mao 阅读(1103) 评论(1) 推荐(0) 编辑