摘要:
主要是由于使用全局变量造成的, 如果要使用全局数组,如 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 阅读全文
摘要:
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 阅读全文