On 2008-02-14 10:35:15 -0500, Lionel B <> said:
> On Thu, 14 Feb 2008 14:00:10 +0200, Juha Nieminen wrote:
>
>> saneman wrote:
>>> But does anyone have an idea to a minimal example where its impossible
>>> to avoid pointer?
>>
>> Try creating a linked list without pointers.
>
> Sure it's possible... clunky, painful and probably inefficient, but
> possible (e.g. use arrays for storage and arrays of indices for access).
But given that it's hypothetically impossible to give such an example
(a Turing machine doesn't have pointers), examples that are clunky,
painful, and inefficient without pointers are good answers.
--
Pete
Roundhouse Consulting, Ltd. (
www.versatilecoding.com) Author of "The
Standard C++ Library Extensions: a Tutorial and Reference
(
www.petebecker.com/tr1book)