Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
L-Spiro wrote:
I should say that the correct answer is only correct between 32-bit and 64-bit machines.
Sorry for insisting, but even given what you wrote, are there no platforms where "long" size may be 64-bit but pointer size is 32-bit? I would imagine that many 64-bit platforms have no need for 64-bit pointers...
Joined: 4/18/2007
Posts: 88
Location: Tokyo, Japan
I can not rule it out, but, of the 4 64-bit data models I know, none have this quality. http://www.unix.org/version2/whatsnew/lp64_wp.html http://en.wikipedia.org/wiki/64-bit#64-bit_data_models I am really not sure if it exists or not. But at least my quiz has served its purpose. You are thinking about these special cases now. Even I had not been thinking about the 16-bit case nor your special case above until now, which means we are all benefiting. The next time you encounter any of these problems you are going to think about these special cases and make informed decisions. I actually only meant #8 to point out the quirk in Microsoft Visual Studio, which in itself would help you make decisions next time. But the fact that you are taking it above and beyond that is great. L. Spiro [Edit] I dislike phrasing that somehow comes off as tooting my own horn (see the quote below for the original text). [/Edit]
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
L-Spiro wrote:
But the fact that you are taking it above and beyond that means my quiz was more of a success than I had planned.
I like your attitude, but this was just a case of the Take a Third Option mentality…