#include <map>#include <string> // 文字列のやつ#include <iostream> // 表示のやつint main() { using namespace std; map<int/*番号*/, string/*名前(文字列)*/> table; // 番号と名前のmapを作成 ("table"..表) // 登録 table[1] = "俺"; table[2] = "ロキ"; table[-1] = "ハゲ"; // "cout
https://discord.gg/q2PG9m2
https://line.me/ti/g2/ImEbgHLSuzuc-fTw9_ae7Q?utm_source=invitation&utm_medium=link_copy&utm_campaign=default