Update cmap-examples
This commit is contained in:
parent
7804fe0d68
commit
317d195f68
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue