René's URL Explorer Experiment


Title: Q-17, Activity 2.5.2.2. Minor fixes · Issue #198 · pearcej/cpp4python · GitHub

Open Graph Title: Q-17, Activity 2.5.2.2. Minor fixes · Issue #198 · pearcej/cpp4python

X Title: Q-17, Activity 2.5.2.2. Minor fixes · Issue #198 · pearcej/cpp4python

Description: A few related minor issues in Activity 2.5.2.2., section 2.5.2.: The question asks what cout << *ptrN << endl; would print and marks the correct answer as varPtr: 50, but that is not technically correct. It would only print 50. If the in...

Open Graph Description: A few related minor issues in Activity 2.5.2.2., section 2.5.2.: The question asks what cout << *ptrN << endl; would print and marks the correct answer as varPtr: 50, but that is not technically co...

X Description: A few related minor issues in Activity 2.5.2.2., section 2.5.2.: The question asks what cout << *ptrN << endl; would print and marks the correct answer as varPtr: 50, but that is not te...

Opengraph URL: https://github.com/pearcej/cpp4python/issues/198

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Q-17, Activity 2.5.2.2. Minor fixes","articleBody":"A few related minor issues in Activity 2.5.2.2., [section 2.5.2.](https://runestone.academy/ns/books/published/cpp4python/AtomicData/AtomicData.html#accessing-values-from-pointers):\r\n\r\n1) The question asks what `cout \u003c\u003c *ptrN \u003c\u003c endl;` would print and marks the correct answer as `varPtr: 50`, but that is not technically correct. It would only print `50`. If the intention is to print `varPtr: 50` the statement should be `cout \u003c\u003c \"varPtr: \" \u003c\u003c *ptrN \u003c\u003c endl;`. As it is, option e is actually the (technically) correct one (although marking it as such would make this a bit of a trick question). Also, `varPtr` seems to be an older name of the pointer in the example, should probably be updated to `ptrN` now.\r\n\r\n2) The feedback for answer a is inconsistent with the answer itself, after the value was changed from 100 to 9 in commit https://github.com/pearcej/cpp4python/commit/8ab95eb32145579baafc85ee860784e96d108ab4.\r\n\r\n3) The feedback for answer c is also inconsistent with the answer. Judging the intention by the feedback text, the answer should be updated to be `59`, rather than `150`.\r\n\r\n4) The question itself could be a little clearer about where this extra code should be inserted. Clearly, it needs to be inserted after line 7, for example between lines 7 and 8, rather than \"into line 7-8\", which could mean the same thing but is a little vague.","author":{"url":"https://github.com/PeturOA","@type":"Person","name":"PeturOA"},"datePublished":"2024-01-30T15:46:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/198/cpp4python/issues/198"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0792133f-a922-3e3e-7c93-5de08a11ad8f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id97BC:1EFC2B:128EC6B:17F2AC9:6990D13F
html-safe-nonce48c7194d56959271e13223032ed8e6e04b8c12096fd580ab260d103db1bf7d6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0JDOjFFRkMyQjoxMjhFQzZCOjE3RjJBQzk6Njk5MEQxM0YiLCJ2aXNpdG9yX2lkIjoiNTA3NzY3ODAzMTgwNTQwMzQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac84af79f2c9bae4ff4adab9e558df43d591858381800d9a4d7caa9065e4a56d83
hovercard-subject-tagissue:2108184061
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pearcej/cpp4python/198/issue_layout
twitter:imagehttps://opengraph.githubassets.com/83f0e79f5e5079c7286792ac2f007f622413a1c530e54173937f1a3df32a34a9/pearcej/cpp4python/issues/198
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/83f0e79f5e5079c7286792ac2f007f622413a1c530e54173937f1a3df32a34a9/pearcej/cpp4python/issues/198
og:image:altA few related minor issues in Activity 2.5.2.2., section 2.5.2.: The question asks what cout << *ptrN << endl; would print and marks the correct answer as varPtr: 50, but that is not technically co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePeturOA
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/pearcej/cpp4python git https://github.com/pearcej/cpp4python.git
octolytics-dimension-user_id1608025
octolytics-dimension-user_loginpearcej
octolytics-dimension-repository_id132641617
octolytics-dimension-repository_nwopearcej/cpp4python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id132641617
octolytics-dimension-repository_network_root_nwopearcej/cpp4python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pearcej/cpp4python/issues/198#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpearcej%2Fcpp4python%2Fissues%2F198
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpearcej%2Fcpp4python%2Fissues%2F198
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pearcej%2Fcpp4python
Reloadhttps://github.com/pearcej/cpp4python/issues/198
Reloadhttps://github.com/pearcej/cpp4python/issues/198
Reloadhttps://github.com/pearcej/cpp4python/issues/198
pearcej https://github.com/pearcej
cpp4pythonhttps://github.com/pearcej/cpp4python
Notifications https://github.com/login?return_to=%2Fpearcej%2Fcpp4python
Fork 54 https://github.com/login?return_to=%2Fpearcej%2Fcpp4python
Star 51 https://github.com/login?return_to=%2Fpearcej%2Fcpp4python
Code https://github.com/pearcej/cpp4python
Issues 12 https://github.com/pearcej/cpp4python/issues
Pull requests 4 https://github.com/pearcej/cpp4python/pulls
Actions https://github.com/pearcej/cpp4python/actions
Projects 0 https://github.com/pearcej/cpp4python/projects
Wiki https://github.com/pearcej/cpp4python/wiki
Security 0 https://github.com/pearcej/cpp4python/security
Insights https://github.com/pearcej/cpp4python/pulse
Code https://github.com/pearcej/cpp4python
Issues https://github.com/pearcej/cpp4python/issues
Pull requests https://github.com/pearcej/cpp4python/pulls
Actions https://github.com/pearcej/cpp4python/actions
Projects https://github.com/pearcej/cpp4python/projects
Wiki https://github.com/pearcej/cpp4python/wiki
Security https://github.com/pearcej/cpp4python/security
Insights https://github.com/pearcej/cpp4python/pulse
New issuehttps://github.com/login?return_to=https://github.com/pearcej/cpp4python/issues/198
New issuehttps://github.com/login?return_to=https://github.com/pearcej/cpp4python/issues/198
Q-17, Activity 2.5.2.2. Minor fixeshttps://github.com/pearcej/cpp4python/issues/198#top
https://github.com/PeturOA
https://github.com/PeturOA
PeturOAhttps://github.com/PeturOA
on Jan 30, 2024https://github.com/pearcej/cpp4python/issues/198#issue-2108184061
section 2.5.2.https://runestone.academy/ns/books/published/cpp4python/AtomicData/AtomicData.html#accessing-values-from-pointers
8ab95ebhttps://github.com/pearcej/cpp4python/commit/8ab95eb32145579baafc85ee860784e96d108ab4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.