CMP EMBEDDED.COM

Login | Register     Welcome Guest  
HOME DESIGN PRODUCTS COLUMNS E-LEARNING CONFERENCES CODE FORUMS/BLOGS NEWSLETTERS CONTACT FEATURES RSS RSS

A Flexible Dynamic Array Allocator
 
By Jacobs Technology Inc.
Posted: Feb 8, 2009
Rating:
  • .


360k


A Flexible Dynamic Array Allocator*
daa allocates dynamically in C/C++ arrays of any type that you can take sizeof() in the pointer to pointer ... style with an arbitrary number of dimensions, arbitrary starting subscript for each dimension and all data and pointers allocated contiguously in a single malloc()'ed block.
Rate this code
WORSE | BETTER
1 2 3 4 5




 
*Be sure to help out the Embedded Community by rating the code after you have had a chance to peruse it. Specific comments are also welcome.

Public Submission Policy
NOTICE: You are entirely responsible for all content that you upload, download, or otherwise make available via the Embedded.com web site. TechInsights does not control the content posted by visitors to Embedded.com and does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will TechInsights be liable in any way for any content not authored by TechInsights, or any loss or damage of any kind incurred as a result of the use of any content made available via Embedded.com.
 
Embedded.com Career Center
Looking for a new job?
SEARCH JOBS

Browse all jobs

SPONSOR
RECENT JOB POSTINGS





 :