
c++
文章平均质量分 54
mitshan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux gcc compile/link issuses.
Create a shared library without any unresolved symbol You can pass options to the linker like this: -Wl,options. So what we can do here is -Wl,-z,defs.原创 2021-03-11 10:33:02 · 132 阅读 · 0 评论 -
32位进程扩大用户态虚拟地址空间大小的方法
在Windows操作系统上, 一般32位进程, 虚拟地址空间为4 GB, 而其中默认有2 GB属于kernel mode, 2 GB属于user mode. 而我们能用的, 其实就是user mode这2 GB. 对于一些需要使用2 GB或者高于2 GB(但不会超过4 GB)的程序来说, 有两种方法: 修改操作系统user mode的虚拟地址空间大小, 一般可以选取范围为2 GB ~ 3 GB, 但这个似乎是32位操作系统上的概念, 不知道64位上有没有. 微软的vc链接器, 有链接选项/LARGEADD原创 2020-11-20 20:08:45 · 1118 阅读 · 0 评论 -
Effective C++ Reading Notes
Item 22 : Declare data members private. Item 23 : Prefer non-member non-friend functions to member functions.原创 2017-05-06 19:21:55 · 321 阅读 · 0 评论 -
Effective Modern C++ Item Lists
* Item 9 * : Prefer alias declarations to typedefs.原创 2017-06-03 09:12:00 · 258 阅读 · 0 评论