[try Beta version]
Not logged in

 
Near OR far ?

Jul 20, 2010 at 10:45pm
Hello.
What are near, far and huge keywords?
Thanks :-)
Jul 20, 2010 at 10:54pm
If you are talking about pointers here you can find some nice answers:
http://wiki.answers.com/Q/What_are_near_far_and_huge_pointers_in_C
Jul 21, 2010 at 1:38pm
Near, far, and huge? I seem to recall those from Assembly language; I've never heard those terms used regarding C or C++.
Jul 21, 2010 at 2:49pm
It is a holdover from DOS programming days on Intel x86 hardware.
Modern OSes use flat memory models, so you don't need the pointer size keywords anymore -- hence they do not appear in modern C or C++ compilers.
Jul 21, 2010 at 3:35pm
Topic archived. No new replies allowed.