{"id":60758,"date":"2021-11-25T09:01:11","date_gmt":"2021-11-25T09:01:11","guid":{"rendered":"https:\/\/www.cryptocabaret.com\/?p=60758"},"modified":"2021-11-25T09:01:11","modified_gmt":"2021-11-25T09:01:11","slug":"tips-for-formatting-when-printing-to-console-from-c","status":"publish","type":"post","link":"https:\/\/www.cryptocabaret.com\/?p=60758","title":{"rendered":"Tips for formatting when printing to console from C++"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" typeof=\"foaf:Image\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2021\/11\/OSDC_women_computing_2.png\" width=\"520\" height=\"292\" alt=\"Woman sitting in front of her computer\" title=\"Woman sitting in front of her computer\"><\/p>\n<p>When I started writing, I did it primarily for the purpose of documenting for myself. When it comes to programming, I&#8217;m incredibly forgetful, so I began to write down useful code snippets, special characteristics, and common mistakes in the programming languages I use. This article perfectly fits the original idea as it covers common use cases of formatting when printing to console from C++.<\/p>\n<p><strong>[Download the <a href=\"https:\/\/opensource.com\/downloads\/cout-cheat-sheet\">C++ std::cout cheat sheet<\/a>]<\/strong><\/p>\n<p><a href=\"https:\/\/opensource.com\/article\/21\/11\/c-stdcout-cheat-sheet\">read more<\/a><\/p>\n<p class=\"wpematico_credit\"><small>Powered by <a href=\"http:\/\/www.wpematico.com\" target=\"_blank\" rel=\"noopener\">WPeMatico<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I started writing, I did it primarily for the purpose of documenting for myself. When it comes to programming, I&#8217;m incredibly forgetful, so I began to write down useful code snippets, special characteristics, and common mistakes in the programming languages I use. This article perfectly fits the original idea as it covers common use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":60759,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[307],"tags":[],"class_list":["post-60758","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source"],"_links":{"self":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/60758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60758"}],"version-history":[{"count":0,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/60758\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/media\/60759"}],"wp:attachment":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}