推 VictorTom:何不sizeof()自己試試:) 不過答案是它們都一樣大, 但是 07/21 22:57
→ VictorTom:會因為target platform不同而有不同結果.... 07/21 22:58
→ FAITHY:因為現在手邊沒編譯器 抱歉>"< 07/21 22:59
→ FAITHY:另外 感謝大大了:) 07/21 23:00
→ FAITHY:那應該大部分是32BITS 4BYTES嗎 在32BIT電腦上? 07/21 23:02
→ FAITHY:還是不是那樣看的 跟記憶體無關 07/21 23:03
→ softwind:事實上 看compiler決定 但是要合乎target的定址模式 07/21 23:10
→ FAITHY:喔喔 感謝諸位大大 07/21 23:12
推 nowar100:沒記錯的話是 machine dependent 07/21 23:53
→ nowar100:不過我看到的PC上 32位元的好像都是4Byte 64都是8Byte 07/21 23:55
→ tinlans:不過如果是 member function pointer 的大小, 07/22 02:39
→ tinlans:那又是另一回事了。 07/22 02:39
推 tomap41017:樓上...是8BYTE耶@@" 07/24 22:10