12 2010 档案
摘要:[代码]假设数组的首地址为 0x100,则ptr1,ptr2,ptr3的值分别为多少呢?想偷懒的同学请潜到水底看答案!由于a为数组名,即也可表示为数组首地址,即a[0]的地址,所以 a+1为a[1]的地址;答案:ptr1 = 0x104&a为类型是int[5]的指针,所以&a+1就会加上5*sizeof(int)的长度;答案:ptr2 = 0x100+5*4 = 120int(a)+1答案:ptr3 = 0x101
阅读全文
摘要:This may help someone (including me next time I get this error, as I always forget how to fix it ;-)All of a sudden, while developing an application, it won't compile and gives:Unsupported 16 bit resource in some_form_name.dfmThis seems to happen at random, and I haven't found any pattern except t
阅读全文

浙公网安备 33010602011771号