📄 maptest.good
字号:
Start of map testAdding a few elements...Elements:test["b"] = 2 - should be 2test["a"] = 1 - should be 1test["k"] = 11 - should be 11Reasigning the value of atest["a"] = 65 - should be 65All of the contents of test:First element: a: 65First element: a: 65a: 65b: 2c: 3k: 11Elements in reverse order:k: 11c: 3b: 2a: 65Number of elements: 4Container empty? 0Finding element "c"Found value for c: 3Count of elements with key "c": 1Inserting element g: Value inserted? 1Key: g, value: 6a: 65b: 2c: 3g: 6k: 11Attempting to insert same element again: no insert - PASSEDErasing element "g"a: 65b: 2c: 3k: 11Erasing element "c"a: 65b: 2k: 11This should read 2: 2This should read 2: 2This should read 11: 11map_char_myClass['x'] = 20map_char_myClass['x'] = 10map_char_myClass['z'] = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -