自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 关于C++中赋值运算符中可以访问私有成员

最近实验发现C++中可以在赋值运算符中可以访问私有成员,举例如下: #include <iostream> using namespace std; class B { private:     int j; public:     B(int jj = 9): j(jj){} }; class A { private:     int i;     A(const A &am...

2019-02-12 09:58:05 413

转载 shell中各种括号的作用()、(())、[]、[[]]、{}

转载于https://blog.csdn.net/taiyang1987912/article/details/39551385 一、小括号,圆括号() 1、单小括号 ()    ①命令组。括号中的命令将会新开一个子shell顺序执行,所以括号中的变量不能够被脚本余下的部分使用。括号中多个命令之间用分号隔开,最后一个命令可以没有分号,各命令和括号之间不必有空格。    ②命令替换。等同于`...

2018-09-09 15:35:07 128

原创 OpenCV用分水岭算法进行图像分割代码示例

// this program is test code for studying the watershed algoritm #include <iostream> #include <string> #include <opencv2/opencv.hpp> const std::string readImageDirectory("D:\\Codes...

2018-09-09 14:22:46 790

原创 C++文件读取写入练习

// this program will read the context of the configure file and save the copy in a map object, // with the map object, we can change the context of the map object, // in the end, we will write the ma...

2018-09-02 18:51:22 461

原创 Common Lisp中的set和setq

之前看Practical Common Lisp,其中大部分的值绑定是用setf来实现的。当时一直不太明白为什么像(setf hello 1),这样的S-expression中的hello这样的Symbol是怎样理解的,最近看到An Introduction to Programming in Emacs Lisp中介绍,Symbol与值绑定时,所讲解的set与setq之间的区别,才豁然开朗:比如

2017-12-05 20:30:30 1460

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除