上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 178 下一页
  2019年3月7日
摘要: 1.打开一个终端,输入dpkg --list ,按下Enter键,终端输出以下内容,显示的是你电脑上安装的所有软件。 2.在终端中找到你需要卸载的软件的名称,列表是按照首字母排序的。 3.在终端上输入命令sudo apt-get --purge remove 包名(--purge是可选项,写上这个属 阅读全文
posted @ 2019-03-07 22:42 一杯明月 阅读(591) 评论(0) 推荐(0)
摘要: 参考:http://www.cnblogs.com/weizhixiang/p/5804778.html 阅读全文
posted @ 2019-03-07 14:28 一杯明月 阅读(291) 评论(0) 推荐(0)
摘要: 格式是:command >> filefullpath 格式是:DOS命令>>文件名全路径 举例说明: dir *.* >> D:\abc.txt dir *.* > D:\abc.txt >> 代表追加。 > 代表写覆盖。 阅读全文
posted @ 2019-03-07 11:56 一杯明月 阅读(3770) 评论(0) 推荐(0)
  2019年3月4日
摘要: #include<iostream> #include<iomanip> using namespace std; int main() { enum color_set { red, yellow, blue, white, black }; //声明枚举类型color color_set col 阅读全文
posted @ 2019-03-04 21:52 一杯明月 阅读(755) 评论(0) 推荐(0)
摘要: 原则:类的成员函数在小括号后大括号前加上 const ,代表不准备改变对象的数据。不加的话代表有可能会改变对象的数据。 1.当常量对象,就是加上const修饰的类的成员去调用常量成员函数时,这表示:对象的初始化数据一定不能改变,常量成员函数说:放心,我不会改变你的初始化数据的,这一切都很好。 2.当 阅读全文
posted @ 2019-03-04 14:55 一杯明月 阅读(605) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/cauchy007/p/4966485.html 阅读全文
posted @ 2019-03-04 10:04 一杯明月 阅读(1055) 评论(0) 推荐(0)
  2019年3月3日
摘要: 听课笔记: #define _CRT_SECURE_NO_WARNINGS #include<iostream> using namespace std; void fun() { throw 1;//抛出整型异常值 } void fun02() { throw "hello!";//抛出const 阅读全文
posted @ 2019-03-03 15:56 一杯明月 阅读(631) 评论(0) 推荐(0)
摘要: 听侯捷老师讲课的笔记: string.h头文件: #pragma once class String { public: String(const char* cstr); String(const String& str); String& operator =(const String& str 阅读全文
posted @ 2019-03-03 10:42 一杯明月 阅读(239) 评论(0) 推荐(0)
  2019年3月2日
摘要: 听课笔记: vecotr.h头文件: #pragma once /*写一个容器vector*/ template<typename T> class Myarray { public: Myarray(); Myarray(int capacity); Myarray(const Myarray<T 阅读全文
posted @ 2019-03-02 21:37 一杯明月 阅读(455) 评论(0) 推荐(0)
  2019年2月27日
摘要: https://blog.csdn.net/kuaile123/article/details/11024873 阅读全文
posted @ 2019-02-27 12:49 一杯明月 阅读(375) 评论(0) 推荐(0)
上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 178 下一页