Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Help on Dynamic Array

This is a discussion on Help on Dynamic Array within the C and C++ forums, part of the Software Development category; 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....

Go Back   Geeks Talk > Software Development > C and C++
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 07-13-2006
Contributing Member
 
Join Date: Jul 2006
Posts: 76
Thanks: 0
Thanked 5 Times in 1 Post
nancyphilips is on a distinguished road
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.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-12-2006
Junior Member
 
Join Date: Sep 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
SriramKrishna is on a distinguished road
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.
Reply With Quote
  #3 (permalink)  
Old 12-06-2006
Expert Member
 
Join Date: Sep 2006
Location: Bengalooru (Formerly called Bangalore), India
Posts: 486
Thanks: 2
Thanked 29 Times in 28 Posts
kalayama is on a distinguished road
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
Reply With Quote
  #4 (permalink)  
Old 12-06-2006
Junior Member
 
Join Date: Sep 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
SriramKrishna is on a distinguished road
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.
Reply With Quote
  #5 (permalink)  
Old 12-06-2006
Expert Member
 
Join Date: Sep 2006
Location: Bengalooru (Formerly called Bangalore), India
Posts: 486
Thanks: 2
Thanked 29 Times in 28 Posts
kalayama is on a distinguished road
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

Quote:
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...
Reply With Quote
  #6 (permalink)  
Old 12-06-2006
Junior Member
 
Join Date: Sep 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
SriramKrishna is on a distinguished road
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.
Reply With Quote
  #7 (permalink)  
Old 12-06-2006
Expert Member
 
Join Date: Sep 2006
Location: Bengalooru (Formerly called Bangalore), India
Posts: 486
Thanks: 2
Thanked 29 Times in 28 Posts
kalayama is on a distinguished road
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!"
Reply With Quote
  #8 (permalink)  
Old 12-06-2006
Junior Member
 
Join Date: Sep 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
SriramKrishna is on a distinguished road
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.
Reply With Quote
  #9 (permalink)  
Old 12-25-2007
Contributing Member
 
Join Date: Nov 2007
Location: bangalore
Posts: 54
Thanks: 6
Thanked 6 Times in 4 Posts
rahulvegi is on a distinguished road
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.
Reply With Quote
Reply

  Geeks Talk > Software Development > C and C++

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
C Programming - Dynamic Memory allocation Lokesh M C and C++ 0 05-29-2006 03:35 AM


All times are GMT -4. The time now is 09:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved