摘要:
#pragma data_seg("MyData")int g_Value; // Note that the global is not initialized.#pragma data_seg()DLL提供两个接口函数:int GetValue(){return g_Value;}void SetValue(int n){g_Value = n;} 阅读全文
posted @ 2013-06-05 19:45
Predator
阅读(168)
评论(0)
推荐(0)
摘要:
char*pStr=newchar[20]; char*pSource="ganquanfu"; strcpy(pStr,pSource); cout<<pStr<<endl;/*string name = "ganquanfu";const char *names = name.c_str();cout<<names<<endl;*/ 阅读全文
posted @ 2013-06-05 19:43
Predator
阅读(572)
评论(0)
推荐(0)

浙公网安备 33010602011771号