answersLogoWhite

0

every monday to saturday mag jakol ka pohta sarap nun

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

How do you overcome the disadvantages of arrays?

There are many limitations of arrays. The greatest advantage of an array of course is performance. Arrays are by far the fastest means of referencing collection of items. That said, arrays suffer incredible limitations since they are generally very slow for adding items in a sorted manor. Unless you preallocate a large enough area of memory to store all possible items you wish to use, arrays have to be reallocated over and over. There are some hackish functions which can be used to exploit the MMU of the system to grow arrays by creating multiple logical contiguous regions of memory, but if this is performed on a fine grain, the logical descriptor tables of the system will grow and overall system performance will be negatively impacted. Even though you appear to want to program plain-C, there is no reason you can't develop in an object oriented manor. There are many libraries available for C which provide high-performance variable length collections. I am not familiar with all of them, but as part of the GNOME toolkit, there is GLib (if I recall) which provides excellent implementations of many of them. Alternatively, if you're interested in learning how they work in order to correctly choose the right one for each task, you may want to get a copy of Donald Knuth's "The Art of Computer Programming, Volume 1" which is effectively a bible of sorts on this specific topic and is quite easy to read. If you want to learn the ABCs and 123s without an overly prolonged investment in time, I recommend experimenting with an object oriented language with good class libraries like Java or my favorite, C#. They are both great starting points for experimenting with data structures.


Related Questions

What is the meaning of accuracy in the abc's of technical writing?

In the ABCs of technical writing, accuracy refers to the precision and correctness of the information presented. It ensures that facts, data, and instructions are truthful and free from errors, which is crucial for maintaining credibility and trust with the audience. Accurate writing helps prevent misunderstandings and ensures that the intended message is effectively conveyed. Ultimately, accuracy enhances the overall quality and reliability of technical documents.


Was The ABC's of good letter writing are accuracy brevity and congratulation?

Accuracy, brevity, and clarity are the ABCs of good letter writing.


How many abcs are there in the abcs?

There are twenty six abcs in the abcs. LEARN IT!


What is the meaning of drought resistant that starts with a x?

it is xeriscaping:)i bet ur doing geography abcs


what are the ABCs report writing and their meaning?

The ABCs of report writing refer to the key elements that should be included to ensure clarity and effectiveness. A stands for Audience, emphasizing the importance of understanding who the report is intended for and tailoring the content accordingly. B represents Background, which involves providing necessary context and information that helps the reader understand the subject matter. C signifies Content, focusing on the need to present clear, organized, and relevant information that effectively conveys the intended message.


When was ABCs of Attraction created?

ABCs of Attraction was created in 2005.


What is the duration of The ABCs of Death?

The duration of The ABCs of Death is 1.83 hours.


When was The ABCs of Anarchism created?

The ABCs of Anarchism was created on 1999-04-27.


When was The ABCs of Death created?

The ABCs of Death was created on 2012-11-02.


When was Here Come the ABCs created?

Here Come the ABCs was created in 2004.


How do you say the alphabet in Spanish?

its the same ... I think... ------------------- Commonly alfabeto or abecedario, with the second meaning closer to "ABCs"


What happened to the Roman army after 100AD?

U farted ur abcs U farted ur abcs