# define EXTERN(type, array) extern type * near array
是什么意思,为什么用extern 和near,谢谢!
是什么意思,为什么用extern 和near,谢谢!
解决方案 »
- WTL项目中字符串加载出错。
- MFC单/多文档有什么区别
- 如何通过{D7B70EE0-4340-11CF-B063-0020AFC2CD35}得到一个等效的CLSID?
- 关于远程调试设置断点的问题!
- 请问如何将unicode和utf8字符串转换为gb2312??
- 有没有天津科技大学或者是杭州电子工业学院的学生,哪个教学质量好?
- 哪里能找到旧版的msdn??
- 如何编写多线程socket服务器端,最好能提供例子
- WTL::CFileDialog窗口位置
- 使用SendMessage给指定窗口发送回车键或取消键如何实现
- 如何在一个文件中存储多幅位图呢?
- 传入路径字符串,请问如何获得该路径下的文件和目录信息????
Win32 does not distinguish between near and far addresses. Because the types NEAR and FAR are defined in WINDEF.H, they are automatically handled by the include file, which redefines them as empty strings for Win32. Thus, NEAR and FAR are ignored. If you do not include WINDEF.H, a convenient solution is to use the /D command-line option to replace the keywords by empty strings. For example:/D_near= /D_far= /D__near= /D__far=用extern是为了其他文件也可以使用这个变量