{"id":40691,"date":"2022-03-24T10:00:56","date_gmt":"2022-03-24T14:00:56","guid":{"rendered":"https:\/\/simpleprogrammer.com\/?p=40691"},"modified":"2022-03-23T18:35:32","modified_gmt":"2022-03-23T22:35:32","slug":"how-to-learn-c-programming","status":"publish","type":"post","link":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/","title":{"rendered":"How To Learn C++? (C++ Programming)"},"content":{"rendered":"<div class=\"comment-container\">\n<div class=\"action-comment can-view-video markeddown js-comment\" dir=\"auto\">\n<div class=\"current-comment js-friendly-links js-open-card\">\n<p>Learning C++ is one of the most discussed topics among software developers. C++ is definitely not an easy programming language to learn and so, there is a lot of confusion that surrounds people when it comes to learning c++<\/p>\n<p>So, first of all, there are some things you need to know first, before learning c++ that apply to learning almost any programming language.<\/p>\n<p>Most starting programmers, when they want to learn to program, pick up a book and start reading.<\/p>\n<p>While there are some excellent books out there that attempt to teach you programming in a very hands-on approach, I think the best place to start is by looking at the source code of an actual working application and trying to figure out as much of what is happening as possible.<\/p>\n<p>This is difficult.<\/p>\n<p>It&#8217;s going to feel uncomfortable, but that&#8217;s ok. Get used to feeling uncomfortable. That is the only real way to grow in life.<\/p>\n<p>What I want you to do is to pick an open-source application-preferably a popular one that is likely to be well-designed-and start looking through the source code.<\/p>\n<p>You can find plenty of projects on GitHub, so I&#8217;d recommend checking there.<\/p>\n<p>It&#8217;s beyond the scope of this book, but it&#8217;s even better if you can download the code and build and run the application yourself.<\/p>\n<p>If you have a friend that can help you with this, that&#8217;s great. If you don&#8217;t, it&#8217;s ok.<\/p>\n<p>What is important is that you explore the code to get a feel for what the programming language syntax looks like and that you try and read the code and see if you can understand or make sense of anything.<\/p>\n<p>Use the application itself, if possible, so you can get a feel for the relationship between the code and what the code does.<\/p>\n<p>Like I said, this is going to feel very uncomfortable.<\/p>\n<p>You might feel like you&#8217;re not understanding anything.<\/p>\n<p>Here are some pros of learning C++:<\/p>\n<ul>\n<li>Is extremely popular, and therefore lots of support is available.<\/li>\n<li>Has a large base of freely available code for download, while also supporting direct integration with ASM and C.<\/li>\n<li>Is very powerful, and can be used to create just about any program, including low-level system programs.<\/li>\n<li>There is a compiler for C++ on every major operating system. C++ programs that are purposely written for portability will work on many major operating systems with little change in code.<\/li>\n<li>C++ is a language that is compiled (transformed from human-readable code to low-level machine code), so it can often run faster than languages such as Java, Python, and C#; as it does not depend on an interpreter or a &#8220;run-time environment&#8221; which must be loaded beforehand.<\/li>\n<li>Has a long-established usage base that likely guarantees support for the language will continue for quite some time.<\/li>\n<li>Many languages are based on C\/C++, such as Java, so knowledge in C++ will make it easier to understand these languages.<\/li>\n<li>Has a relatively small associated C++ Standard Library as compared to languages such as Java&#8217;s Standard Platform SDK or C#&#8217;s .NET Framework, permitting greater versatility and reducing the system footprint of resulting compilations.<\/li>\n<li>Has a significant number of open source libraries available, including the Boost which is freely and widely available.<\/li>\n<\/ul>\n<p>So, despite that, there are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more about learning c++ programming? Watch this video and find out!<\/p>\n<p>[responsive_video type=&#8217;youtube&#8217; hide_related=&#8217;0&#8242; hide_logo=&#8217;0&#8242; hide_controls=&#8217;0&#8242; hide_title=&#8217;0&#8242; hide_fullscreen=&#8217;0&#8242; autoplay=&#8217;0&#8242;]https:\/\/www.youtube.com\/watch?v=r94FWJsSc3w[\/responsive_video]<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learning C++ is one of the most discussed topics among software developers. C++ is definitely not an easy programming language to learn and so, there is a lot of confusion that surrounds people when it comes to learning c++ So, first of all, there are some things you need to know first, before learning c++&#8230;<\/p>\n","protected":false},"author":2,"featured_media":40692,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[162229169],"tags":[],"class_list":["post-40691","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-youtube"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Learn C++? (C++ Programming) - Simple Programmer<\/title>\n<meta name=\"description\" content=\"There are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more? Watch this video and find out!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Learn C++? (C++ Programming) - Simple Programmer\" \/>\n<meta property=\"og:description\" content=\"There are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more? Watch this video and find out!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/\" \/>\n<meta property=\"og:site_name\" content=\"Simple Programmer\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-24T14:00:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2022\/03\/SP_Repost_14.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"John Sonmez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Sonmez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/\"},\"author\":{\"name\":\"John Sonmez\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#\\\/schema\\\/person\\\/1abc70edfb189184827740310672de67\"},\"headline\":\"How To Learn C++? (C++ Programming)\",\"datePublished\":\"2022-03-24T14:00:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/\"},\"wordCount\":618,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/SP_Repost_14.jpg\",\"articleSection\":[\"YouTube\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/\",\"name\":\"How To Learn C++? (C++ Programming) - Simple Programmer\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/SP_Repost_14.jpg\",\"datePublished\":\"2022-03-24T14:00:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#\\\/schema\\\/person\\\/1abc70edfb189184827740310672de67\"},\"description\":\"There are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more? Watch this video and find out!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#primaryimage\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/SP_Repost_14.jpg\",\"contentUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/SP_Repost_14.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/how-to-learn-c-programming\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/simpleprogrammer.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Learn C++? (C++ Programming)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#website\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/\",\"name\":\"Simple Programmer\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/simpleprogrammer.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#\\\/schema\\\/person\\\/1abc70edfb189184827740310672de67\",\"name\":\"John Sonmez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g\",\"caption\":\"John Sonmez\"},\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/author\\\/jsonmez\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Learn C++? (C++ Programming) - Simple Programmer","description":"There are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more? Watch this video and find out!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/","og_locale":"en_US","og_type":"article","og_title":"How To Learn C++? (C++ Programming) - Simple Programmer","og_description":"There are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more? Watch this video and find out!","og_url":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/","og_site_name":"Simple Programmer","article_published_time":"2022-03-24T14:00:56+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2022\/03\/SP_Repost_14.jpg","type":"image\/jpeg"}],"author":"John Sonmez","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Sonmez","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#article","isPartOf":{"@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/"},"author":{"name":"John Sonmez","@id":"https:\/\/simpleprogrammer.com\/#\/schema\/person\/1abc70edfb189184827740310672de67"},"headline":"How To Learn C++? (C++ Programming)","datePublished":"2022-03-24T14:00:56+00:00","mainEntityOfPage":{"@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/"},"wordCount":618,"commentCount":0,"image":{"@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#primaryimage"},"thumbnailUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2022\/03\/SP_Repost_14.jpg","articleSection":["YouTube"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/","url":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/","name":"How To Learn C++? (C++ Programming) - Simple Programmer","isPartOf":{"@id":"https:\/\/simpleprogrammer.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#primaryimage"},"image":{"@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#primaryimage"},"thumbnailUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2022\/03\/SP_Repost_14.jpg","datePublished":"2022-03-24T14:00:56+00:00","author":{"@id":"https:\/\/simpleprogrammer.com\/#\/schema\/person\/1abc70edfb189184827740310672de67"},"description":"There are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more? Watch this video and find out!","breadcrumb":{"@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#primaryimage","url":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2022\/03\/SP_Repost_14.jpg","contentUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2022\/03\/SP_Repost_14.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/simpleprogrammer.com\/how-to-learn-c-programming\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/simpleprogrammer.com\/"},{"@type":"ListItem","position":2,"name":"How To Learn C++? (C++ Programming)"}]},{"@type":"WebSite","@id":"https:\/\/simpleprogrammer.com\/#website","url":"https:\/\/simpleprogrammer.com\/","name":"Simple Programmer","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simpleprogrammer.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/simpleprogrammer.com\/#\/schema\/person\/1abc70edfb189184827740310672de67","name":"John Sonmez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g","caption":"John Sonmez"},"url":"https:\/\/simpleprogrammer.com\/author\/jsonmez\/"}]}},"_links":{"self":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts\/40691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/comments?post=40691"}],"version-history":[{"count":0,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts\/40691\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/media\/40692"}],"wp:attachment":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/media?parent=40691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/categories?post=40691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/tags?post=40691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}