Results 1 to 9 of 9

Thread: Help on Dynamic Array

  1. #1
    Contributing Member
    Join Date
    Jul 2006
    Answers
    76

    Help on Dynamic Array

    I want to know about dynamic array where could I get to know about this. Some online help or reference or explanation in this discussion would be helpful.


  2. #2
    Junior Member
    Join Date
    Sep 2006
    Answers
    27

    Re: Help on Dynamic Array

    A dynamic array, growable array, resizable array, dynamic table, or array list is a data structure, an array which is automatically expanded to accommodate new objects if filled beyond its current size. It may also automatically deallocate some of its unused space to save memory.


  3. #3
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: Help on Dynamic Array

    The post from SriRamKrishna is a direct rip off from Wikipedia!!! There has got to be some control over direct copy-paste from other websites! In most of the tech forums I visit, direct copy-paste is considered disgraceful! Moderators, Is there any such rule placed here in GeekInterview?

    Here's the link to Wiki for the topic
    Dynamic array - Wikipedia, the free encyclopedia


  4. #4
    Junior Member
    Join Date
    Sep 2006
    Answers
    27

    Re: Help on Dynamic Array

    kalayama, Hope you have not read the question asked by nancyphilips. She has asked some online help or reference and so in this case the link placed by you and message placed by me is helpful and is relevant to the reference asked in question.Also I have placed definition of dynamic array which cannot be changed in any sense.


  5. #5
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: Help on Dynamic Array

    Sorry if I have hurt your feelings SriramKrishna. I didn't mean to be as sloppish as I sound there.

    I agree what we post here should help the one who asks the question. When we do copy something from somewhere else, we should put it as Quote. (Which means, whetever we have written here is not original from us, but we got it from some other refference.

    Now, most of the times forums restrict such things. (Writing something against our name which originally belongs to someone else.)

    (I don't know the rules of this Forum as I'm relatively new here) According to me, you should have posted it as

    A dynamic array, growable array, resizable array, dynamic table, or array list is a data structure, an array which is automatically expanded to accommodate new objects if filled beyond its current size. It may also automatically deallocate some of its unused space to save memory.
    I am really sorry if you interpreted my previous post in any other way. I was used to this kind of convention and couldn't help commenting.

    Hurting your feelings was never my intension. I just wanted things to be better. Some value addition...


  6. #6
    Junior Member
    Join Date
    Sep 2006
    Answers
    27

    Re: Help on Dynamic Array

    kalayama you have not hurt my feelings. YOu are right that one must not take copy others and even in this forum the rules are followed. But the above is a definition and you would find this same definition and same words not only with the site you gave as reference but in many sites.Definitions cannot be changed. That is the whole context.


  7. #7
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: Help on Dynamic Array

    Ok Sri. May be I overreacted. (I just ran a google search agin, couldn't find any duplicates yet )
    But may be what you say is right in this case. Guess things are clear now. Good to know that even in this forum, there is a check for copying

    [COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]

    Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"

  8. #8
    Junior Member
    Join Date
    Sep 2006
    Answers
    27

    Re: Help on Dynamic Array

    It gives many references but the point is not that, the point is definitions cannot be changed. Anyway good to know that you have got the point. It is one of the best forums many users find it useful and naturally it would have all features of good forums in it undoubtfully.


  9. #9
    Contributing Member
    Join Date
    Nov 2007
    Answers
    46

    Re: Help on Dynamic Array

    Dynamic array:
    - it means that add array blocks at the run time.
    - this is achieved by using malloc,calloc,realloc and free in c.
    - in c++ we use new and delete.


  10.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact