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
This is a discussion on char far *Screen; within the C++ Programming forums, part of the General Programming Boards category; I found this in a code on FAQ but i dont understand: isnt the pointer sign should be between char ...
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
Compiler MSVC++ 2010 with Code::Blocks.
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.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
Thank you laserlight, I googled, there are three pointer types: near, far and huge.
Didnt know it.
I didnt read your first comment btw.
Compiler MSVC++ 2010 with Code::Blocks.
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.