I found this in a code on FAQ but i dont understand: isnt the pointer sign should be
between char and far?
http://faq.cprogramming.com/cgi-bin/...&id=1043284392
I found this in a code on FAQ but i dont understand: isnt the pointer sign should be
between char and far?
http://faq.cprogramming.com/cgi-bin/...&id=1043284392
Using Windows 10 with Code Blocks and MingW.
EDIT #2:
Okay, I am getting hopelessly confused by my own ignorance. Right, if you read my answer in its original form, you probably have the right answer (search the Web for "far pointer"), but note that this is implementation dependent, not standard. If you read my first edit, then it is something good to take note of, but is not the case here.
Last edited by laserlight; 06-08-2008 at 04:19 AM.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Thank you laserlight, I googled, there are three pointer types: near, far and huge.
Didnt know it.
I didnt read your first comment btw.
Using Windows 10 with Code Blocks and MingW.
It's because NEAR, FAR and HUGE to my knowledge are not needed in any Win32 or any protected mode applications. The last time I used these was inside of DOS.