Update cmap-examples

This commit is contained in:
pudepiedj 2023-10-05 12:33:20 +01:00
parent 7804fe0d68
commit 317d195f68

View file

@ -16,7 +16,7 @@ int main() {
printf("Value of apple: %d\n", dict[std::string("apple")]);
for (const auto& pair : dict) {
printf("Key: %s, Value: $s\n", pair.first, pair.second);
printf("Key: %s, Value: $d\n", pair.first.c_str(), pair.second);
}
return 0;