Re: array of pointers



Hi Richard,

my concern is that when I implemented the array of pointers was
necessary to obtain more RAM memory. Now I really can't imagine what
is leading this increase in the merory mainly if I am taking care in
store the datas dinamicaly.

after the array of pointers I was runing my code in a machine with 512M
now I have to use one with 1.4G. Perhaps the dinamic allocation of a
array of pointers can demand more memory... Is possible ??

thank you
Millena

.



Relevant Pages

  • Re: Differance between Array and Pointers
    ... Well, except that arrays tend to be much larger than pointers, and the ... An array is a contiguous region of memory containing N elements of M ... indexing vs. a loop). ...
    (comp.arch.embedded)
  • Re: "<>", a relational operator?
    ... And in Standard C there are significant restrictions ... OTOH in BCPL and B pointers were ... has no whole array operations; if you want something done to all (or ... the Standard isn't vague at all -- this is specifically ...
    (comp.lang.fortran)
  • Re: Test if pointer points to allocated memory
    ... >> or one past the same object or array. ... When two pointers are compared, the result depends on the relative ... pointers to structure members declared later compare ... > The typical implementation of automatic storage is on the program stack. ...
    (comp.lang.c)
  • newbie question
    ... function 'wordwrap', but I'd like to get it working first. ... Note that I've got pointers to the arrays included but commented out, ... array, manipulate them whilst passing them to another array, and read the ... second file is identical to the first. ...
    (comp.lang.c)
  • Re: What is **
    ... In this case char** argv can be seen as an object containing many strings. ... In C every array can by described as a pointer: ... a string is an array of chars in C. ... You will then have an array of pointers. ...
    (comp.lang.cpp)