My requirement is that given a string as key to the map, I should be able to retrieve a structure.
Can anyone please post sample code for this?
Ex:
struct
{
int a;
int b;
int c;
}struct_sample;
string1 -> strcut_sample
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Example from MDSN for further details of CMap.