Title: Typo in Appendix A: Intermediate C++ Review · Issue #41 · gameprogcpp/code · GitHub
Open Graph Title: Typo in Appendix A: Intermediate C++ Review · Issue #41 · gameprogcpp/code
X Title: Typo in Appendix A: Intermediate C++ Review · Issue #41 · gameprogcpp/code
Description: // Get an iterator to the element with the key 2 std::map
Open Graph Description: // Get an iterator to the element with the key 2 std::map
X Description: // Get an iterator to the element with the key 2 std::map<int, std::string> iter = months.find(2); // SHOULD BE std::map<int, std::string>::iterator iter = months.find(2); if (iter != m...
Opengraph URL: https://github.com/gameprogcpp/code/issues/41
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Typo in Appendix A: Intermediate C++ Review","articleBody":"```\r\n// Get an iterator to the element with the key 2\r\nstd::map\u003cint, std::string\u003e iter = months.find(2); // SHOULD BE std::map\u003cint, std::string\u003e::iterator iter = months.find(2); \r\nif (iter != months.end()) // This is only true if found\r\n{\r\n std::cout \u003c\u003c iter-\u003efirst \u003c\u003c std::endl; // Outputs 2\r\n std::cout \u003c\u003c iter-\u003esecond \u003c\u003c std::endl; // Outputs February\r\n}\r\n```\r\nI find this in my kindle version of the book, however, I can't seem to find page number anywhere. \r\nThanks for the great book! ","author":{"url":"https://github.com/zixin96","@type":"Person","name":"zixin96"},"datePublished":"2021-01-27T01:03:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/41/code/issues/41"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:015edab7-8b78-179b-5b6c-c34c654fa28e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2A4:3FE5AD:3A6C705:4ECFD21:6970821D |
| html-safe-nonce | 238674705914587b6105056fe5771e5273b4829fa9f74f542f8e5de1abb330e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkE0OjNGRTVBRDozQTZDNzA1OjRFQ0ZEMjE6Njk3MDgyMUQiLCJ2aXNpdG9yX2lkIjoiMTI2MTI1MjM4NDE1MTA3NzQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b48e24d2aafec7defcd1a42803ac7bdfd05b62ebffb815e1db5152dde1aa72aa |
| hovercard-subject-tag | issue:794678204 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gameprogcpp/code/41/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8f98ef8e0e077cc167669312b7974de5d5b606418eca62f47761636e12628dae/gameprogcpp/code/issues/41 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8f98ef8e0e077cc167669312b7974de5d5b606418eca62f47761636e12628dae/gameprogcpp/code/issues/41 |
| og:image:alt | // Get an iterator to the element with the key 2 std::map |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zixin96 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/gameprogcpp/code git https://github.com/gameprogcpp/code.git |
| octolytics-dimension-user_id | 33610484 |
| octolytics-dimension-user_login | gameprogcpp |
| octolytics-dimension-repository_id | 110481501 |
| octolytics-dimension-repository_nwo | gameprogcpp/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 110481501 |
| octolytics-dimension-repository_network_root_nwo | gameprogcpp/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width