{"id":50,"date":"2024-04-13T12:28:32","date_gmt":"2024-04-13T12:28:32","guid":{"rendered":"https:\/\/tuhintech.com\/tutorials\/?p=50"},"modified":"2024-04-13T12:30:27","modified_gmt":"2024-04-13T12:30:27","slug":"c-home-3","status":"publish","type":"post","link":"https:\/\/tuhintech.com\/tutorials\/c-2\/c-home-3\/","title":{"rendered":"C++ Home"},"content":{"rendered":"<section class=\"kc-elm kc-css-584862 kc_row\"><div class=\"kc-row-container  kc-container\"><div class=\"kc-wrap-columns\"><div class=\"kc-elm kc-css-207860 kc_col-sm-3 kc_column kc_col-sm-3\"><div class=\"kc-col-container\"><div class=\"widget widget_nav_menu kc-elm kc-css-490986\"><h2 class=\"widgettitle\">C++ Tutorials<\/h2><nav class=\"menu-c-menu-3-container\" aria-label=\"C++ Tutorials\"><ul id=\"menu-c-menu-3\" class=\"menu\"><li id=\"menu-item-55\" class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-55\"><a href=\"https:\/\/tuhintech.com\/tutorials\/c-2\/c-home-3\/\" class=\"menu-link\">C++ Home<\/a><\/li>\n<li id=\"menu-item-69\" class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-69\"><a href=\"https:\/\/tuhintech.com\/tutorials\/c-2\/c-home-4\/\" class=\"menu-link\">C++ Introduction<\/a><\/li>\n<li id=\"menu-item-68\" class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-68\"><a href=\"https:\/\/tuhintech.com\/tutorials\/c-2\/c-get-started-2\/\" class=\"menu-link\">C++ Get Started<\/a><\/li>\n<\/ul><\/nav><\/div><\/div><\/div><div class=\"kc-elm kc-css-582179 kc_col-sm-9 kc_column kc_col-sm-9\"><div class=\"kc-col-container\"><div class=\"kc-elm kc-css-722611 kc_text_block\"><\/p>\n<h1>C++\u00a0<span class=\"color_h1\">Tutorial<\/span><\/h1>\n<div class=\"w3-clear nextprev\"><a class=\"w3-left w3-btn\" href=\"https:\/\/www.w3schools.com\/default.asp\">\u276e Home<\/a><a class=\"w3-right w3-btn\" href=\"https:\/\/www.w3schools.com\/cpp\/cpp_intro.asp\">Next \u276f<\/a><\/div>\n<div class=\"w3-panel w3-info intro\">\n<h2>Learn C++<\/h2>\n<p>C++ is a popular programming language.<\/p>\n<p>C++ is used to create computer programs, and is one of the most used language in game development.<\/p>\n<p><a class=\"w3-btn w3-margin-bottom\" href=\"https:\/\/www.w3schools.com\/cpp\/cpp_intro.asp\">Start learning C++ now \u00bb<\/a><\/div>\n<hr \/>\n<h2>Examples in Each Chapter<\/h2>\n<p>Our &#8220;Try it Yourself\" editor makes it easy to learn C++. You can edit C++ code and view the result in your browser.<\/p>\n<div class=\"w3-example\">\n<h3>Example<\/h3>\n<div class=\"w3-code notranslate javaHigh\">\n<p><span class=\"javacolor\">#include <iostream><br \/>using namespace std;<\/p>\n<p><span class=\"javakeywordcolor\">int<\/span>\u00a0main() {<br \/>\u00a0\u00a0cout <<\u00a0<span class=\"javastringcolor\">&#8220;Hello World!\"<\/span>;<br \/>\u00a0\u00a0<span class=\"javakeywordcolor\">return<\/span>\u00a0<span class=\"javanumbercolor\">0<\/span>;<br \/>}<\/span><\/div>\n<p><a class=\"w3-btn w3-margin-bottom\" href=\"https:\/\/www.w3schools.com\/cpp\/trycpp.asp?filename=demo_helloworld\" target=\"_blank\" rel=\"noopener\">Try it Yourself \u00bb<\/a><\/div>\n<p><b>Click on the &#8220;Run example\" button to see how it works.<\/b><\/p>\n<div class=\"w3-panel w3-note\">\n<p>We recommend reading this tutorial, in the sequence listed in the left menu.<\/p>\n<p>C++ is an object oriented language and some concepts may be new. Take breaks when needed, and go over the examples as many times as needed.<\/p>\n<\/div>\n<hr \/>\n<div>\n<h2>C++ Exercises<\/h2>\n<form id=\"w3-exerciseform\" spellcheck=\"false\" action=\"https:\/\/www.w3schools.com\/cpp\/exercise.asp?filename=exercise_syntax1\" autocomplete=\"off\" method=\"post\" target=\"_blank\">\n<h2>Test Yourself With Exercises<\/h2>\n<div class=\"exercisewindow\">\n<h2>Exercise:<\/h2>\n<p>Insert the missing part of the code below to output &#8220;Hello World\".<\/p>\n<div class=\"exerciseprecontainer\">\n<pre>int main() {\r\n  <input maxlength=\"4\" name=\"ex1\" type=\"text\" \/> << \"Hello World!\";\r\n  return 0;\r\n}\r\n<\/pre>\n<\/div>\n<p><button class=\"w3-btn w3-margin-bottom\" type=\"submit\">Submit Answer \u00bb<\/button><\/p>\n<p><a href=\"https:\/\/www.w3schools.com\/cpp\/exercise.asp?filename=exercise_syntax1\" target=\"_blank\" rel=\"noopener\">Start the Exercise<\/a><\/p>\n<\/div>\n<\/form>\n<\/div>\n<div class=\"w3-example\">\u00a0<\/div>\n<p>\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"boxed","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-c-2"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/posts\/50"}],"collection":[{"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":3,"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/posts\/50\/revisions\/53"}],"wp:attachment":[{"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tuhintech.com\/tutorials\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}