Solved

maps and c

Posted on 2012-03-14
1
265 Views
Last Modified: 2012-03-15
Is there anything comparable to a map in plain vanilla C?
0
Comment
Question by:dpalyca755
1 Comment
 
LVL 53

Accepted Solution

by:
Infinity08 earned 500 total points
ID: 37724602
No, not in the standard C library.

However, you can easily build your own. Have a look at the code in this wiki page eg. : http://en.wikipedia.org/wiki/Red%E2%80%93black_tree

Or, you can use an existing implementation (some examples can be found at the bottom of that same wiki page).
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to design, and implement simple interface 5 138
Handling string inputs in C/Linux 23 187
Intel debugger, idb, only seeing .c and .h, but no .f90 1 373
How to learn Linux? 10 67
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question