Answers for "c++ dictionary"

C++
2

c++ dictionary

#include <map>

std::map<char, char> my_map = {
    { 'A', '1' },
    { 'B', '2' },
    { 'C', '3' }
};
Posted by: Guest on October-02-2021

Browse Popular Code Answers by Language