Re: pointer syntax
On Wed, 23 Nov 2005 13:26:04 +0100, "Bjørge" <bjorge@xxxxxxxxxxxxxxx>
wrote:
<snip>
>Of course. What puzzles me is this: With strings and dynamic arrays it's
>taken care of (the nil initialization, that is). Why not with other pointer
>types ?
I totally agree, it would take nothing to wipe the stack
.
Relevant Pages
- Re: Conceptual, Logical, and Physical views of data
... As an aside, let me just relate that about 2 years ago, I had a lengthy discussion at work in which it was me vs. 2 guys with CS Ph.Ds, with them taking the position that there's no difference between a pointer and a foreign key. ... I don't care what some other developer's 'meaning' for it is as long as that meaning works in his application and doesn't screw up mine. ... I'm not interested in trying to prove it, but I suspect that if one took some of their pronouncements to heart, all logical database development would come to a permanent halt. ... However, if somebody else doesn't see it my way, good for them, and let them explain all the costs, short-term and long-term of their better approach (and better it may be in their particular case, especially if the boss and owners don't care about the long-term in which case I'd hope it was a commercial and not a government 'enterprise') to their boss or customer. ... (comp.databases.theory) - Re: Dynamic Array vs Pointer
... > knowledge of the implementation of dynamic arrays and do this instead: ... OUT OF SCOPE TROUBLE ... You don't need to dereference the pointer and then cast to the ... > using pointer arithmetic to access parts of a buffer beyond where the ... (alt.comp.lang.borland-delphi) - Re: Pointer equality and dereferencing
... the guarantee that I can use them interchangeably. ... the guarantee that I care about is that when I create an exact ... replica of a sequence of bytes that represents some known pointer, ... Such a smart compiler would have to ... (comp.std.c) - Re: pointer one past malloc.ed memory
... If you care to post some C code which exhibits the ... > For example pointer to a struct. ... No. Pointers are scalar but not integer types. ... is a signed integer type called ptrdiff_t, ... (comp.lang.c) - Re: marshall interface needed?
... don't need to know nor care that A uses B at all. ... and properly marshal A's pointer. ... A is registered as an MTA component, and expects to be called on an MTA ... internal implementation detail of A, of which you shouldn't know nor ... (microsoft.public.vc.language) |
|