prog.cpp: In function ‘int main()’:
prog.cpp:14:5: error: in C++98 ‘charactor_to_handle’ must be initialized by constructor, not by ‘{...}’
};
^
prog.cpp:14:5: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
prog.cpp:14:5: error: could not convert ‘{{12354, 0}, {12356, 1}, {12358, 2}, {12360, 3}, {12362, 4}}’ from ‘<brace-enclosed initializer list>’ to ‘std::map<wchar_t, int>’
prog.cpp:17:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < wcslen(str); ++i) {
^