摘要:
16位系统:long是4字节,int是2字节32位系统:long是4字节,int是4字节64位系统:long是8字节,int是4字节 阅读全文
摘要:
一、sample#includeusing namespace std;void* test(void* pass){ return pass;}int _tmain(int argc, _TCHAR* argv[]){ char* a=(char*)malloc(sizeof(char)); a="a"; char* b = (char*)malloc(sizeof(char)); b=(char*)test(a); coutusing namespace std;class CBase{public: CBase(int a,long b,char... 阅读全文