QMap<QString, int> map;. To insert a (key, value) pair into the map, you can use operator[](): ... In addition, you can clear the entire map using clear().
確定! 回上一頁