Re: pointers--when to use them

Originally Posted by
exterminator

Originally Posted by
HighCommander4

Originally Posted by
Lindley
In addition to NULLability, pointers have one other advantage over references: They can be reassigned.
Not to mention pointer arithmetic
Ok.
Do you mean to say that what can be achieved in C++ with pointer arithematic cannot be achieved in say C#/Java where you don't have pointers and hence pointer arithematic?
No, I mean to say that what can be achieved in C++ with pointer arithmetic cannot be achieved in C++ with references. Clearly Lindley was talking about C++ references, since Java/C# references can be reassigned.
Old Unix programmers never die, they just mv to /dev/null