René's URL Explorer Experiment


Title: Create a console calculator in C++ | Microsoft Learn

Open Graph Title: Create a console calculator in C++

Description: Learn how to create and troubleshoot a Hello World console app and a calculator app in Visual Studio using C++.

Open Graph Description: Learn how to create and troubleshoot a Hello World console app and a calculator app in Visual Studio using C++.

Opengraph URL: https://learn.microsoft.com/en-us/cpp/get-started/tutorial-console-cpp?view=msvc-170

X: @MicrosoftLearn

direct link

Domain: learn.microsoft.com

color-schemelight dark
twitter:cardsummary_large_image
og:typewebsite
og:image:altMicrosoft Learn
og:imagehttps://learn.microsoft.com/en-us/media/open-graph-image.png
platform_idfce08709-ab28-7d7d-43d7-b72a2dd75ad2
scopeC++
localeen-us
uhfHeaderIdMSDocsHeader-CPP
page_typeconceptual
breadcrumb_path../_breadcrumb/toc.json
ROBOTSINDEX,FOLLOW
managercoxford
ms.date2026-04-28T00:00:00Z
ms.topictutorial
audiencedeveloper
ms.servicevisual-cpp
ms.tgt_pltfrmWindows
ms.workloadcplusplus
feedback_systemStandard
feedback_product_urlhttps://developercommunity.visualstudio.com/cpp/
feedback_help_link_urlhttps://learn.microsoft.com/en-us/answers/tags/314/cpp
feedback_help_link_typeget-help-at-qna
ms.subservicecpp-lang
authorTylerMSFT
ms.authortwhitney
ms.customacquisition, mvc
ms.devlangcpp
document_idf51e5807-3f78-ff63-ef41-4629b7ae84d5
document_version_independent_idc1dbef6c-f895-a6d7-9d83-e2ac8f864327
updated_at2026-05-28T17:37:00Z
original_content_git_urlhttps://github.com/MicrosoftDocs/cpp-docs-pr/blob/live/docs/get-started/tutorial-console-cpp.md
gitcommithttps://github.com/MicrosoftDocs/cpp-docs-pr/blob/079a50417ea74ec627772664b319d23fc6edbb00/docs/get-started/tutorial-console-cpp.md
git_commit_id079a50417ea74ec627772664b319d23fc6edbb00
monikersmsvc-180
default_monikermsvc-170
site_nameDocs
depot_nameVS.vcppdocs
schemaConceptual
toc_reltoc.json
pdf_url_templatehttps://learn.microsoft.com/pdfstore/en-us/VS.vcppdocs/{branchName}{pdfName}
search.mshattr.devlangcpp
word_count8551
config_moniker_range>= msvc-140
asset_idget-started/tutorial-console-cpp
moniker_range_name4581682a33ffa46eb75263dee4d6680e
item_typeContent
source_pathdocs/get-started/tutorial-console-cpp.md
previous_tlsh_hash51001513A62C9711AFC34E1A19DE7F8071F08448A5A42DE8162770F1D4CA2DF75F61E84BE72B664563320B571222A35F6BDAE32A847CA3666670587C804D337193AD3FFEE9
github_feedback_content_git_urlhttps://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/get-started/tutorial-console-cpp.md
markdown_urlhttps://learn.microsoft.com/en-us/cpp/get-started/tutorial-console-cpp?view=msvc-170&accept=text/markdown
cmProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/4628cbd9-6f47-4ae1-b371-d34636609eaf
spProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/be21deb8-8c64-44b0-b71f-2dc56ca7364f

Links:

Skip to main content https://learn.microsoft.com/en-us/cpp/get-started/tutorial-console-cpp#main
Skip to Ask Learn chat experience https://learn.microsoft.com/en-us/cpp/get-started/tutorial-console-cpp
Download Microsoft Edge https://go.microsoft.com/fwlink/p/?LinkID=2092881
More info about Internet Explorer and Microsoft Edge https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge
Read in English https://learn.microsoft.com/en-us/cpp/get-started/tutorial-console-cpp
Edit https://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/get-started/tutorial-console-cpp.md
signing inhttps://learn.microsoft.com/en-us/cpp/get-started/tutorial-console-cpp
Install C++ support in Visual Studiohttps://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170
Git websitehttps://git-scm.com/
Visual Studio version control documentationhttps://learn.microsoft.com/en-us/visualstudio/version-control/
Learn more about Visual Studio for C++https://devblogs.microsoft.com/cppblog/getting-started-with-visual-studio-for-c-and-cpp-development/
Install C++ support in Visual Studiohttps://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170
Learn more about Visual Studio for C++https://devblogs.microsoft.com/cppblog/getting-started-with-visual-studio-for-c-and-cpp-development/
en-ushttps://learn.microsoft.com/en-us/cpp/get-started/tutorial-console-cpp
Your Privacy Choiceshttps://aka.ms/yourcaliforniaprivacychoices
AI Disclaimerhttps://learn.microsoft.com/en-us/principles-for-ai-generated-content
Previous Versionshttps://learn.microsoft.com/en-us/previous-versions/
Bloghttps://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog
Contributehttps://learn.microsoft.com/en-us/contribute
Privacyhttps://go.microsoft.com/fwlink/?LinkId=521839
Consumer Health Privacyhttps://go.microsoft.com/fwlink/?linkid=2259814
Terms of Usehttps://learn.microsoft.com/en-us/legal/termsofuse
Trademarkshttps://www.microsoft.com/legal/intellectualproperty/Trademarks/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.