2015年7月5日

转载——c++中冒号(:)和双冒号(::)的用法

摘要: 1.冒号(:)用法(1)表示机构内位域的定义(即该变量占几个bit空间)typedef struct _XXX{unsigned char a:4;unsigned char c;} ; XXX(2)构造函数后面的冒号起分割作用,是类给成员变量赋值的方法,初始化列表,更适用于成员变量的常量const... 阅读全文

posted @ 2015-07-05 23:09 FEMONT 阅读(241) 评论(0) 推荐(0)

Template Metaprogramming with Modern C++: Introduction

摘要: Template Metaprogramming with Modern C++: IntroductionPosted onSeptember 10, 2014byManu SánchezTemplate Metaprogramming with Modern C++: IntroductionA... 阅读全文

posted @ 2015-07-05 20:59 FEMONT 阅读(452) 评论(0) 推荐(0)

2015年6月19日

转载文章 RESIZING WIN32 DIALOGS

摘要: Resizing Win32 Dialogs with DialogBox() and Dialog Resourcesmalxau,2 Jan 2011Public Domain27.5K1.3K16Pleasesign into voteA demonstration of resizing c... 阅读全文

posted @ 2015-06-19 14:50 FEMONT 阅读(248) 评论(0) 推荐(0)

2015年6月16日

pointer p, addr of pointer p, value of *p

摘要: void pointer(int *p){ int a = 11; printf("\nthe p is %p , addr is %p, *p is %d",p , &p, *p); *p =11; printf("\nthe p is %p , addr is %p, *p is %d"... 阅读全文

posted @ 2015-06-16 09:03 FEMONT 阅读(133) 评论(0) 推荐(0)

导航