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. |
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....
|
|||||||
|
|||
|
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.
|
| Sponsored Links |
|
|||
|
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.
|
|
|||
|
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 |
|
|||
|
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.
|
|
|||
|
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:
Hurting your feelings was never my intension. I just wanted things to be better. Some value addition... |
|
|||
|
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.
|
|
|||
|
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!" |
|
|||
|
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.
|
|
|||
|
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. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
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 |