comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re; Question about pointer
Date: Mon, 07 Oct 2002 00:41:35 GMT
Date: 2002-10-07T00:41:35+00:00	[thread overview]
Message-ID: <2L4o9.65474$DN4.9243@sccrnsc01> (raw)
In-Reply-To: mailman.1033947722.20213.comp.lang.ada@ada.eu.org

> But, right now, i don't know what is the advantage of utilisation of
> pointer in a program

  There are more than a few ways pointers are useful.  Just two are:
Dynamically allocating memory for objects of varying size and lifetime.
Linking related objects so that a procedure given one can access the other.

You really need a good book on programming (and probably more than one)
to see some of the uses, and problems, of pointers.



  reply	other threads:[~2002-10-07  0:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-06 23:41 Question about pointer Dominic D'Apice
2002-10-07  0:41 ` tmoran [this message]
2002-10-08 14:41 ` John English
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox