pl
Erlos_gu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 · 1632 阅读 · 0 评论 -
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 · 569 阅读 · 0 评论 -
关于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 · 488 阅读 · 0 评论
分享