QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

What's a far pointer/FAR*?

Win32 FAQ
If you aren't programming 16-bit Windows, you don't need to worry about it. If you still wonder, here we start the long answer. In real mode, addresses are 20 bit quantities allowing access to 1 megabyte of memory, formed of a 16 bit offset and part of a 16-bit segment. For all practical purposes, the address was a 16 bit address, in the range 0 - 65535, since the standard operating system, DOS, could only use that range. All applications have access to all memory.

What is a far pointer? where we use it?

OOPS FAQ - Page 6
Latest Answer: near, far pointers are the types of pointers in C. By using these pointers we can directly access me...

What Is A Pointer?

Windows Basics
A pointer is the arrow you use to choose things on screen. Since the Shortcut is simply a pointer to a specific program or file, you can delete the shortcut or remove it from the Desktop without actually deleting the program or file.

How can I peek at an address whose far pointer I get from an INT 21h call?

DJGPP Frequently-Asked Questions List
If you want to access a byte, a 16-bit word, or a 32-bit double word, use the "far pointer" functions declared on the the header file. You should convert any real-mode far pointer segment:offset pair into a linear address (i.e., segment*16 + offset), and use the _dos_ds macro to get the selector which allows access to conventional memory, like this: unsigned char value = _farpeekb(_dos_ds, segment*16 + offset); Use _farpeekw to peek at 16-bit shorts and _farpeekl to peek at 32-bit longs.

Is a null statement a null pointer?

Infrequently Asked Questions in comp.lang.c
No. A null pointer is a pointer where all of the address bits are zero (no matter what the segment bits are), and can be obtained by typing '(char *) (int) 0'. A null statement is not a pointer to anything. They are not interchangeable, although you can combine them to get an effectively-null statement, such as NULL;. This does not buy you anything. [a] Send large donations, checks, and money orders to the author of the FAQ, or the moderator of the group, whichever you prefer.

How far is it?

Frequently Asked Questions about the pilgrimage to Santiago ...
Roncesvalles to Santiago is about 800 km i.e. 4-5 weeks walking or 2 weeks by bike. Seville to Santiago, on the Via de la Plata, is 1000 km, walkable in about 6 weeks. Le Puy to Roncesvalles is about 5 weeks walking, Vézelay similar. Paris to Santiago is 2000 km. Arles to Puente la Reina is about 900 km. For descriptions of all the routes, click here.

what is a NULL Pointer? Whether it is same as an uninitialized pointer?

OOPS FAQ - Page 7
Latest Answer: NULL pointer is pointer which is not pointing to anything in the memory. NULL is defined as (v...

Why can't I perform arithmetic on a void * pointer?

Infrequently Asked Questions in comp.lang.c
You're too big and clumsy. When you try to push the numbers together, you lose your balance. Perhaps you should get some angels from the rave over on pin 3.

What is a Domain Pointer?

Untitled Document
A Domain Pointer also called Domain Aliases is simply a second domain pointing to your primary domain. Domain Pointers do not have working email or a control panel.

How will Pointer be maintained?

FAQ Pointer
The Pointer Project is aiming to manage the full life cycle of an address through the development of an integrated address maintenance system involving OSNI, VLA, Royal Mail and Local Councils in Northern Ireland. This will ultimately result in the development of proposals for a 'cradle to grave' integrated address life cycle which will aim to maximise automation of the life cycle of an address and minimise manual intervention.

Can I move the mouse pointer myself?

Frequently Asked Questions
There is an Xlib routine called XWarpPointer() that does this, but GDK does not wrap it. It is almost certainly a bad idea to use this feature (in fact it is intended for window managers only); you might consider writing to one of the GTK+ or Gnome mailing lists to ask for another way to achieve whatever you are trying to achieve. However, you can always use Xlib routines (such as XWarpPointer()) by including gdk/gdkx.h and gdk/gdkprivate.

Then why are array and pointer declarations interchangeable as function formal parameters?

Infrequently Asked Questions in comp.lang.c
Classism. We consider arrays ''second class objects''. They don't vote, and they get treated as pointers. Additionally, they're merely objects, not citizens. Marx wrote about this a lot. [a]

Q#11.9: How do I get the file descriptor from a stdio FILE pointer?

news.answers/apple2/GNO-faq
A#11.9: Use the fileno() macro. This is defined in <stdio.h> as of GNO v2.0.6. For earlier versions you will have to add it in yourself. The proper macro definition for the ORCA/C headers is: #define fileno(p) ((p)->_file) Q#11.10: My (ported) source requires <sys/file.h>. Why isn't it there? A#11.10: <sys/file.h> has been superceded by <sys/fcntl.h>. Update your sources. Q#11.11: Why, when I '#include <types.

How far are you from the airport?

Intensive Counseling- Frequently Asked Questions
We are approximately 25 miles north of the SeaTac Airport. Our Admissions Team can assist you with selecting flights, dates and times.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact