Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #25091

Re: dereference

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: dereference
Date 2012-08-27 03:24 -0700
Organization None to speak of
Message-ID <ln8vd0d451.fsf@nuthaus.mib.org> (permalink)
References (10 earlier) <GpudnbIvWLDzJ6rNnZ2dnUVZ_oydnZ2d@bestweb.net> <k19353$1mo$1@speranza.aioe.org> <c5e20411-4734-45f2-9128-b7e0646d6e1b@googlegroups.com> <070b99fc-57f6-4ada-b188-d66b20dad746@f17g2000vbz.googlegroups.com> <d36905cf-18b9-4f8d-b3bd-8866389969c3@h5g2000yqh.googlegroups.com>

Show all headers | View raw


Nick Keighley <nick_keighley_nospam@hotmail.com> writes:
> On Aug 27, 8:11 am, Hans Vlems <hvl...@freenet.de> wrote:
>> On 25 aug, 05:42, Adrian Ratnapala <adrian.ratnap...@gmail.com> wrote:
>> > On Saturday, 25 August 2012 01:36:12 UTC+2, Bill Cunningham  wrote:
>> > > Kenneth Brody wrote:
>>
>> > > > Using GC, if I remove the note from the left drawer, what
>> > > > happens to the money in the right drawer?
>>
>> > > the money in the right drawer?
>>
>> > I think the "Nothing" answer was better.  I think the right drawer
>> > doesn't have a note saying "one dollar in left drawer".  Rather it
>> > has a note saying "Money, left drawer", where it is previously
>> > understood that the *right* drawer contains a treasure map to
>> > finding, say, auntie Rohini's life savings.
>
> <snip>
>
>> The right hand drawer is not a pointer. It is simply a location
>> holding a value.
>
> sounds like a distinction without a difference

In the analogy, the drawers are objects, and the note in the left
drawer is a pointer value.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
    Will write code for food.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-20 18:04 -0400
  Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-20 15:30 -0700
    Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-20 18:37 -0400
      Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-20 18:43 -0700
      Re: dereference Kenneth Brody <kenbrody@spamcop.net> - 2012-08-22 14:42 -0400
        Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-22 12:10 -0700
          Re: dereference Kenneth Brody <kenbrody@spamcop.net> - 2012-08-22 17:38 -0400
    Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-20 21:09 -0400
      Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-20 18:46 -0700
        Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-21 16:15 -0400
        Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-21 16:26 -0400
      Re: dereference Kenneth Brody <kenbrody@spamcop.net> - 2012-08-22 14:49 -0400
        Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-22 18:10 -0400
          Re: dereference Barry Schwarz <schwarzb@dqel.com> - 2012-08-22 17:36 -0700
            Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-22 20:50 -0400
              Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-22 17:54 -0700
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-22 21:23 -0400
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-22 21:26 -0400
                Re: dereference Kenneth Brody <kenbrody@spamcop.net> - 2012-08-23 12:55 -0400
                Re: dereference Mark Bluemel <mark_bluemel@pobox.com> - 2012-08-24 08:05 +0100
                Re: dereference Hans Vlems <hvlems@freenet.de> - 2012-08-24 03:00 -0700
                Re: dereference Kenneth Brody <kenbrody@spamcop.net> - 2012-08-24 13:31 -0400
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-24 17:20 -0400
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-24 19:36 -0400
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-24 20:42 -0700
                Re: dereference Hans Vlems <hvlems@freenet.de> - 2012-08-27 00:11 -0700
                Re: dereference Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-08-27 02:01 -0700
                Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-27 03:24 -0700
                Re: dereference Barry Schwarz <schwarzb@dqel.com> - 2012-08-24 21:44 -0700
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-25 09:46 -0400
                Re: dereference Vincenzo Mercuri <vincenzo.mercuri@yahoo.it> - 2012-08-25 16:22 +0200
                Re: dereference Vincenzo Mercuri <vincenzo.mercuri@yahoo.it> - 2012-08-25 16:33 +0200
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-25 08:07 -0700
                Re: dereference Vincenzo Mercuri <vincenzo.mercuri@yahoo.it> - 2012-08-25 17:55 +0200
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-25 10:58 -0700
                Re: dereference Ike Naar <ike@iceland.freeshell.org> - 2012-08-25 20:39 +0000
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-26 14:49 -0700
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-25 18:36 -0400
                Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-25 16:42 -0700
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-25 20:19 -0400
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-26 14:40 -0700
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-26 14:46 -0700
                Re: dereference Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-08-27 02:11 -0700
                Re: dereference James Kuyper <jameskuyper@verizon.net> - 2012-08-27 08:36 -0400
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-27 10:38 -0700
                Re: dereference James Kuyper <jameskuyper@verizon.net> - 2012-08-27 13:55 -0400
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-27 12:57 -0700
                Re: dereference James Kuyper <jameskuyper@verizon.net> - 2012-08-27 16:25 -0400
                Re: dereference Kenneth Brody <kenbrody@spamcop.net> - 2012-08-29 10:41 -0400
                Re: dereference Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-08-27 02:09 -0700
                Re: dereference Barry Schwarz <schwarzb@dqel.com> - 2012-08-25 12:16 -0700
                Re: dereference Keith Thompson <kst-u@mib.org> - 2012-08-25 16:40 -0700
                Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-25 21:21 -0400
                Re: dereference Barry Schwarz <schwarzb@dqel.com> - 2012-08-25 21:48 -0700
                Re: dereference Les Cargill <lcargill99@comcast.com> - 2012-08-25 13:08 -0500
                Re: dereference Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-08-27 02:02 -0700
                Re: dereference Andrew Cooper <amc96@cam.ac.uk> - 2012-08-25 02:53 +0100
                Re: dereference Hans Vlems <hvlems@freenet.de> - 2012-08-27 00:10 -0700
                Re: dereference Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-08-27 02:14 -0700
                Re: dereference Adrian Ratnapala <adrian.ratnapala@gmail.com> - 2012-08-27 10:34 -0700
                Re: dereference Kenneth Brody <kenbrody@spamcop.net> - 2012-08-29 10:22 -0400
  Re: dereference Les Cargill <lcargill99@comcast.com> - 2012-08-20 17:38 -0500
    Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-20 18:41 -0400
  Re: dereference "christian.bau" <christian.bau@cbau.wanadoo.co.uk> - 2012-08-20 16:43 -0700
    Re: dereference Mark Bluemel <mark_bluemel@pobox.com> - 2012-08-21 09:22 +0100
    Re: dereference "Bill Cunningham" <nospam@nspam.invalid> - 2012-08-21 16:12 -0400

csiph-web