摘要: 16位系统:long是4字节,int是2字节32位系统:long是4字节,int是4字节64位系统:long是8字节,int是4字节 阅读全文
posted @ 2013-11-14 10:25 z折腾 阅读(815) 评论(0) 推荐(0) 编辑
摘要: 一、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... 阅读全文
posted @ 2013-11-14 10:12 z折腾 阅读(4727) 评论(0) 推荐(0) 编辑