{"id":714,"date":"2021-05-27T02:17:19","date_gmt":"2021-05-27T02:17:19","guid":{"rendered":"https:\/\/www.sagaratechnology.com\/blog\/?p=714"},"modified":"2023-03-24T08:54:38","modified_gmt":"2023-03-24T08:54:38","slug":"knowing-the-basics-of-the-c-programming-language","status":"publish","type":"post","link":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/","title":{"rendered":"Knowing the Basics of the C ++ Programming Language"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"900\" src=\"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2023\/03\/image-17.png\" alt=\"\" class=\"wp-image-3813\"\/><\/figure>\n\n\n\n<p>Are you interested in exploring the C ++ programming language? This programming language is at a quite high level. However, like a mainstay of weapons, the C ++ programming language will make it easier for programmers to build applications and software.<\/p>\n\n\n\n<p>Actually, not all programming languages are mandatory for you to mastering, but depending on just one type is clearly not enough. So, you need to monitor the latest programming language trends so you can continue to develop yourself.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fa9381eb442\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fa9381eb442\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/#What_is_the_C_programming_language\" >What is the C ++ programming language?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/#Basics_of_the_C_Programming_Language\" >Basics of the C ++ Programming Language<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"What_is_the_C_programming_language\"><\/span>What is the C ++ programming language?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Refers to w3school, <a href=\"https:\/\/www.w3schools.com\/cpp\/cpp_intro.asp\">C ++<\/a> is a programming language developed by the C language. The syntax for writing C and C ++ is almost the same, but different in problem-solving steps.<\/p>\n\n\n\n<p>In the C language, the step of problem-solving is done by dividing it into smaller sub-problems. Meanwhile, C ++ is object-oriented. The problem is divided into several classes. That is why the C ++ developed by Bjarne Stroustrup is popular among big software companies, including Firefox and Adobe.<\/p>\n\n\n\n<p>Until now, the C ++ programming language has been updated regularly. This means that you will find there are many versions of this language. When a new feature is developed in C ++, it will be standardized. However, for beginners, you don&#8217;t need to worry about which version to use.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Basics_of_the_C_Programming_Language\"><\/span>Basics of the C ++ Programming Language<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Currently, programmers use C ++ in various fields, from software development to games to building information security systems, the results for example are Microsoft Office, Mozilla Firefox, and Google Chrome.<\/p>\n\n\n\n<p>Mastering the basics of the C ++ programming language is the main asset of a reliable programmer. Apart from learning Pascal to understand basic programming logic and algorithms, here are the basics of C ++ that you should know.<\/p>\n\n\n\n<h4>Preparing the Equipment<\/h4>\n\n\n\n<p>Before you start learning, make sure you have two of these tools on your computer: a text editor and a compiler. You will use a text editor to write C ++ program code. Meanwhile, the compiler is a program that is used to translate C into machine language. The purpose is that the computer can understand the C language command.<\/p>\n\n\n\n<p>Alternatively, you can immediately install a C ++ compiler specifically designed for the development of the C ++ programming language. For example, DEV C ++ 5.11 or Visual Studio 2015 IDE.<\/p>\n\n\n\n<h4>Recognize the Structure of a C ++ Program<\/h4>\n\n\n\n<p>After the equipment is ready, you need to recognize the structure of the C ++ program, among others, by knowing what standard C ++ code looks like.<\/p>\n\n\n\n<p>Slightly different writing code may display the same data results. So, you have to learn some syntax or coding commonly used in this programming language. For example, the header and main program and preprocessor directive or a &#8216;#&#8217; sign.<\/p>\n\n\n\n<h4>Declares Variables and Constants<\/h4>\n\n\n\n<p>You can declare a variable by writing the data type in question, followed by the variable name<\/p>\n\n\n\n<p>Meanwhile, for variables with constant values you can use the const function, followed by writing the data type, variable name, and value.<\/p>\n\n\n\n<p>Also Read: <a href=\"https:\/\/www.sagaratechnology.com\/blog\/what-is-data-science-6-steps-to-be-a-data-scientist\/\">What is Data Science? 6 Steps to be a Data Scientist<\/a><\/p>\n\n\n\n<h4>Create Language Documentation<\/h4>\n\n\n\n<p>Commonly called to as comments, they are notes or documentation that programmers write when coding.<\/p>\n\n\n\n<p>This step is done as an explanation or reminder when you read a line of code. There are two signs commonly used in C ++ to mark a comment.<\/p>\n\n\n\n<ul>\n<li>The sign \u2018\/\/\u2019 for one-line comments<\/li>\n\n\n\n<li>The sign \u2018\/ *\u2026 * \/\u2019 For comments of more than one line.<\/li>\n<\/ul>\n\n\n\n<h4>The Sequence of Learning the Programming Language<\/h4>\n\n\n\n<p>After understanding the basic principles of the C ++ language above, you can continue by studying several other topics.<\/p>\n\n\n\n<p>For example, you can learn various basic things related to the C ++ language (input-output, data types, and operators), control structures (branching and looping), advanced C ++ (functions, arrays, pointers), to the basics of Object Oriented Programming.<\/p>\n\n\n\n<p>C ++ is a high-level programming language that is popular among large software companies. Observing the basics of the C ++ programming language does seem difficult to learn.<\/p>\n\n\n\n<p>However, these challenges should motivate you to continue to develop yourself. <\/p>\n\n\n\n<p>Read also more <a href=\"https:\/\/sagaratechnology.com\/blog\/\" target=\"_blank\" rel=\"noreferrer noopener\">Sagara&#8217;s article here. <\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you interested in exploring the C ++ programming language? This programming language is at a quite high level. However, like a mainstay of weapons, the C ++ programming language will make it easier for programmers to build applications and software. Actually, not all programming languages are mandatory for you to mastering, but depending on&#8230;<\/p>\n","protected":false},"author":14,"featured_media":716,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[123,2,128,9,124],"tags":[145,127,15],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Knowing the Basics of the C ++ Programming Language - Sagara Asia Blog<\/title>\n<meta name=\"description\" content=\"Are you interested in exploring the C ++ programming language? This programming language is at a quite high level. However, like a mainstay\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Knowing the Basics of the C ++ Programming Language - Sagara Asia Blog\" \/>\n<meta name=\"twitter:description\" content=\"Are you interested in exploring the C ++ programming language? This programming language is at a quite high level. However, like a mainstay\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/05\/Knowing-the-Basics-of-the-C-Programming-Language.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sagara Technology\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Knowing the Basics of the C ++ Programming Language - Sagara Asia Blog","description":"Are you interested in exploring the C ++ programming language? This programming language is at a quite high level. However, like a mainstay","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:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/","twitter_card":"summary_large_image","twitter_title":"Knowing the Basics of the C ++ Programming Language - Sagara Asia Blog","twitter_description":"Are you interested in exploring the C ++ programming language? This programming language is at a quite high level. However, like a mainstay","twitter_image":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/05\/Knowing-the-Basics-of-the-C-Programming-Language.jpg","twitter_misc":{"Written by":"Sagara Technology","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/#article","isPartOf":{"@id":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/"},"author":{"name":"Sagara Technology","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/e25a7dce1900980898a69a7c63241723"},"headline":"Knowing the Basics of the C ++ Programming Language","datePublished":"2021-05-27T02:17:19+00:00","dateModified":"2023-03-24T08:54:38+00:00","mainEntityOfPage":{"@id":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/"},"wordCount":665,"commentCount":0,"publisher":{"@id":"https:\/\/sagaratechnology.com\/blog\/#organization"},"keywords":["C++ Language","Digital Business","software development"],"articleSection":["Bisnis Online","Business + Tech Solution","Informasi Bisnis","Tech Stack","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/","url":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/","name":"Knowing the Basics of the C ++ Programming Language - Sagara Asia Blog","isPartOf":{"@id":"https:\/\/sagaratechnology.com\/blog\/#website"},"datePublished":"2021-05-27T02:17:19+00:00","dateModified":"2023-03-24T08:54:38+00:00","description":"Are you interested in exploring the C ++ programming language? This programming language is at a quite high level. However, like a mainstay","breadcrumb":{"@id":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sagaratechnology.com\/blog\/knowing-the-basics-of-the-c-programming-language\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sagaratechnology.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Bisnis Online","item":"https:\/\/sagaratechnology.com\/blog\/category\/bisnis-online\/"},{"@type":"ListItem","position":3,"name":"Knowing the Basics of the C ++ Programming Language"}]},{"@type":"WebSite","@id":"https:\/\/sagaratechnology.com\/blog\/#website","url":"https:\/\/sagaratechnology.com\/blog\/","name":"Sagara Asia Blog","description":"Dapatkan Informasi Seputar Teknologi dan Bisnis","publisher":{"@id":"https:\/\/sagaratechnology.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sagaratechnology.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sagaratechnology.com\/blog\/#organization","name":"Sagara Technology","url":"https:\/\/sagaratechnology.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/10\/sagara-logo.jpeg","contentUrl":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/10\/sagara-logo.jpeg","width":200,"height":200,"caption":"Sagara Technology"},"image":{"@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/sagara-asia\/"]},{"@type":"Person","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/e25a7dce1900980898a69a7c63241723","name":"Sagara Technology","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/55085e31e9427bed3336eaea67c72b96?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/55085e31e9427bed3336eaea67c72b96?s=96&d=mm&r=g","caption":"Sagara Technology"},"sameAs":["https:\/\/sagaratechnology.com","https:\/\/www.facebook.com\/Sagaratechnology","https:\/\/www.linkedin.com\/company\/sagara-asia\/"]}]}},"_links":{"self":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/714"}],"collection":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/comments?post=714"}],"version-history":[{"count":6,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/714\/revisions"}],"predecessor-version":[{"id":3815,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/714\/revisions\/3815"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/media\/716"}],"wp:attachment":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/media?parent=714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/categories?post=714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/tags?post=714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}