http://stackoverflow.com/questions/3523145/pointer-arithmetic-for-void-pointer-in-c When a pointer to a particular type (say int, char, float, ..) is incremented, its value is increased by the size of that data type. If a void pointer which points to…
These are two different concepts, you cannot compare them. What the difference between the skunk and the moonlight? Null pointer is a special reserved value of a pointer. A pointer of any type has such a reserved value. Formally, each specific pointe…
http://aggregate.org/MAGIC/ The Aggregate Magic Algorithms There are lots of people and places that create and collect algorithms of all types (here are a few WWW sites). Unfortunately, in building systems hardware and software, we in The Aggregate o…
Some Basic Background Story of The Win32 APIs Win32 API背景故事/背景知识 The Win32 application programming interface (API) provides building blocks used by applications written for the Microsoft Windows operating system family. It defines the 32-bit members …
C++词汇表 A abort() 特殊函数 如果一个函数抛出异常,但在通往异常函数的调用链中找不到与之匹配的catch,则该程序通常以此函数调用终止 abstract base class 抽象基类 abstract class 抽象类 无实例对象的类,其唯一用途是被继承 abstract data type(ADT) 抽象数据类型 abstraction …
1. #defines and const test.h #ifndef TEST_H #define TEST_H #endif #define FALSE 0 #define TRUE (!FALSE) #define MAX_NO_OF_STUDENT 100 const int MAX_NO_OF_STUDENT = 100; 2.Function(函数) int m_iGetValues(); m_ : a member of a class i : returns a int lon…
Frequently Asked Questions (FAQ) Origins 起源 What is the purpose of the project? What is the history of the project? What's the origin of the gopher mascot? Why did you create a new language? What are Go's ancestors? What are the guiding principles in…