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

Frequently Asked Questions

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.

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 Take A Peek?

NLB Multimedia - Frequently Asked Questions
This feature allows users to browse a selected list of content by subject categories. Each subject is sub-divided into a second level. Highlights from both print and multimedia collection will be listed.

Can I do pointer math on iterators (i.e., *(i + n) where i is an iterator and n is an int?

FAQ
No, not on this kind of iterator. You can only do i++ or ++i (this is an Input Iterator in the STL terminolgy).

How is an address defined within Pointer?

FAQ Pointer
Many organisations across the public and private sectors define an address to satisfy organisational, business and operational requirements.

Who will determine what the correct address is in Pointer?

FAQ Pointer
The Pointer database has been populated through a data matching exercise between the address datasets maintained by OSNI, VLA and Royal Mail. Unmatched data resulting from this exercise has been validated on the ground. The Pointer Team works with Local Councils to confirm the correct version of street names. In addition, the Pointer Team works with Local Councils to confirm the correct version of an address.

I want to use a char * pointer to step over some ints. Why doesn't "((int *)p)++;" work?

Frequently Asked Questions: C Language (abridged)
In C, a cast operator is a conversion operator, and by definition it yields an rvalue, which cannot be assigned to, or incremented with ++. I have a function which accepts, and is supposed to initialize, a pointer, but the pointer in the caller remains unchanged.

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.

What's the initial value of the address pointer of the HT24LCXX after power-up?

Holtek Semiconductor - I^2 C EEPROM Series FAQs
The initial value of the address pointer of HT24LCXX after power-up is 0000h. If you do the random read instruction right after the power-up, you'll read the data stored in address 0000h.

what is that int ,an mft address ? if so shouldn't the mft be in a lower level ?

Assignment 3 - FAQ
You said in the faq that the m_alloc layer don't know how the file system works, but in order to allocate a new mft record or cluster it needs to search for a free cluster in the byteMap. but in order to find the byteMap it needs to check in the byteMap mft record for the byteMap data. so it has to know how the file system works. (also to find the byteMap mft record it has to look at the $MFT and check where the $byteMap is). if what i said is incorrect then please verify it again.

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.

Go ahead and take a peek inside your pet’s mouth. What do their teeth look like?

Firehall 4 Animal Hospital : FAQ
Margin of attached gingiva (gum) is inflamed and swollen. Plaque covering teeth. Treatment can reverse condition. Entire attached gingiva (gum) is inflamed and swollen. Mouth is painful and odor begins to be noticeable. Professional treatment and home dental care can prevent this from becoming irreversible.

How can I do PEEK and POKE in C?

System Dependencies
Set a pointer, of the appropriate type, to the right number (using an explicit cast to assure the compiler that you really do intend this nonportable conversion): unsigned int *magicloc = (unsigned int *)0x12345678; Then, *magicloc refers to the location you want. [footnote] If the location is a memory-mapped I/O register, you will probably also want to use the volatile qualifier: ''volatile unsigned int *magicloc''.

What are the rules like? Can I peek?

The Official Fly From Evil FAQ
Very briefly and very generally, though (which is all I'm giving out just now; don't bother to write and ask for more unless you're applying to playtest), the version of the systems that has done best in playtest is a fairly streamlined, stat-based, rollunder, bell-curve, margin-driven sort of affair. It's crunchy enough to satisfy my need for meatiness over the course of a campaign, and slender enough to satisfy my need to spend more time thinking about characters than rules.

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.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact