We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
if you could just tell me, that you entered a string called name and a integer called mark, but you never reffered them to be map elements. then how come are you able to refer mark as clas[name]. how did you did it without insert()?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Maps-STL
You are viewing a single comment's thread. Return to all comments →
if you could just tell me, that you entered a string called name and a integer called mark, but you never reffered them to be map elements. then how come are you able to refer mark as clas[name]. how did you did it without insert()?