摘要: 安装Linux时一般会自动识别windows系统并添加引导项,而 CentOS 默认不支持 NTFS 分区,CentOS7采用了Grub2,与CentOS6有区别。手动引导windows分区修改配置稍不一样。 一、自动寻找分区 网上不少使用命令: grub2-mkconfig -o /boot/gr 阅读全文
posted @ 2016-11-20 18:35 韵切 阅读(3539) 评论(0) 推荐(0) 编辑
摘要: What’s the difference between a stack and a heap? The differences between the stack and the heap can be confusing for many people. So, we thought we w 阅读全文
posted @ 2016-11-13 15:42 韵切 阅读(370) 评论(1) 推荐(0) 编辑
摘要: CREATESTRUCT结构CREATESTRUCT结构具有如下形式:typedef struct tagCREATESTRUCT{ LPVOID lpCreateParams; HANDLE hInstance; HMENU hMenu; HWND hwndParent; int cy; int 阅读全文
posted @ 2016-11-12 20:03 韵切 阅读(325) 评论(0) 推荐(0) 编辑
摘要: CListCtrl CListCtrl类封装“列表视图控件”功能,显示每个包含图标(列表视图中)和标签的收集。除图标和标签外,每一项还能有显示在图标和标签的右边的列中的信息。视图 列表视图控件可用四种不同方式显示其内容,称为“视图”。 扩展风格 除了标准列表风格,类CListCtrl支持一系列提供丰 阅读全文
posted @ 2016-11-11 22:23 韵切 阅读(488) 评论(0) 推荐(0) 编辑
摘要: LPTSTR、LPCSTR、LPSTR、LPCTSTR、LPWSTR、LPCWSTR: 具体查看:http://blog.csdn.net/yibo_ge/article/details/51058917> http://www.cppblog.com/gezidan/archive/2011/08 阅读全文
posted @ 2016-11-11 19:00 韵切 阅读(651) 评论(0) 推荐(0) 编辑
摘要: Error:MSB6006 "rc.exe" exited with code 2. 目录含有中文 Error:no instance of overloaded function "CListCtrl::InsertItem" matches the argument list. m_list.I 阅读全文
posted @ 2016-11-10 19:03 韵切 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 动态分割窗口: 静态分割窗口: 为MainFrame类添加两个成员变量如下,并重载虚函数OnCreateClient,以实现窗口分割。 CSplitterWnd m_WndSplitter1; CSplitterWnd m_WndSplitter2; virtual BOOL OnCreateCli 阅读全文
posted @ 2016-11-10 13:09 韵切 阅读(2878) 评论(0) 推荐(0) 编辑
摘要: 完美转发 输出结果: Rvalue Name constructor.Rvalue Name constructor. Ivor Horton Lvalue Name constructor.Lvalue Name constructor. Fred Fernackerpan Lvalue Name 阅读全文
posted @ 2016-10-13 21:06 韵切 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 当以一个函数内的临时变量对象作为另一个函数的形参的时候,原函数内的临时对象即 rvalue,就会成为此函数内的 lvalue。 这样会重新导致效率低下,因为造成了大量复制操作。 阅读全文
posted @ 2016-10-12 22:48 韵切 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 按值传递实参到函数和函数返回临时变量的副本,函数的效率对执行性能来说至关重要 如果避免这样的复制操作,则执行时间可能会大大缩短。 阅读全文
posted @ 2016-10-11 08:19 韵切 阅读(427) 评论(0) 推荐(0) 编辑