How to use pointers instead of arrays [message #33155] |
Mon, 09 December 2002 04:00  |
Murat Maga
Messages: 6 Registered: December 2002
|
Junior Member |
|
|
Hi all,
I know this is a pretty silly question but my programming experience is
very limited, and my knowledge on IDL is even less.
Therefore I appreciate every suggestion.
The question is I need a 2 dimensional array to which new elements
constantly appended during the execution. Currently I create a duplicate
temp array, create a new one with right size, and finally transfer the
values from the temp one to the actual one. I know people use pointers
for things like this, but I never had an example. Can somebody post me a
simple example? Do the things speed up if I use pointers?
Thanks in advance,
Murat
|
|
|
|