摘要: 主要是由于使用全局变量造成的, 如果要使用全局数组,如 int a[ ] = {1,2,3 };请在前面加上const , 如下const static int a[ ] = {1,2,3 }; 请勿使用全局指针.This linker error can occur when trying to build "Position Independent" code. Consider a small example like:#include <stdio.h>char *str = "test";int main(void){ printf 阅读全文
posted @ 2006-10-12 19:06 MXi4oyu 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Graphics File FormatsThis topic describes the graphics-file formats used by the Microsoft Windowsoperating system. Graphics files include bitmap files, icon-resource files,and cursor-resource files.Bitmap-File FormatsWindows bitmap files are stored in a device-independent bitmap (DIB) formatthat all 阅读全文
posted @ 2006-10-12 14:57 MXi4oyu 阅读(322) 评论(0) 推荐(0) 编辑