Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are “near\ and “far\ pointers?

pointers
0
Posted

What are “near\ and “far\ pointers?

0
10

19.41: But I can’t use all these nonstandard, system-dependent functions, because my program has to be ANSI compatible! Section 20.

0

These days, they’re pretty much obsolete; they’re definitely system-specific. They had to do with 16-bit programming under MS-DOS and perhaps some early versions of Windows. If you really need to know, see a DOS- or Windows-specific programming reference. If you’re using a machine which doesn’t require (or permit) making the near/far pointer distinction, just delete the unnecessary “near” and “far” keywords (perhaps using the preprocessor: “#define far /* nothing */”). comp.lang.c FAQ list ยท Question 19.41 Q: But I can’t use all these nonstandard, system-dependent functions, because my program has to be ANSI compatible! A: You’re out of luck. Either you misunderstood your requirement, or it’s an impossible one to meet. ANSI/ISO Standard C simply does not define ways of doing these things; it is a language standard, not an operating system standard. An international standard which does address many of these issues is POSIX (IEEE 1003.1, ISO/IEC 9945-1), and many operating systems

0

19.41: But I can’t use all these nonstandard, system-dependent functions, because my program has to be ANSI compatible! Section 20.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123