{"id":2642,"date":"2025-09-18T08:00:00","date_gmt":"2025-09-18T06:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=2642"},"modified":"2025-11-04T07:17:48","modified_gmt":"2025-11-04T06:17:48","slug":"c-und-spielereien-mit-dem-terminal","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2025\/09\/18\/c-und-spielereien-mit-dem-terminal\/","title":{"rendered":"C++ und Spielereien mit dem Terminal"},"content":{"rendered":"\n<p><br>C++ geht weiter und der vorgestellte Code &#8222;malt&#8220; nur ein Dreieck aus kleinen Kreuzen auf das Terminal&#8230;<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><br><strong>Spielereien mit dem Terminal:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream>\n\nint main()\n{\nint loop1, loop2;\n\nfor (loop1 = 1; loop1&lt;= 10; loop1++)\n{\nfor(loop2 = loop1; loop2 > 0; loop2--)\n{\nstd::cout &lt;&lt; \"x\";\n}\nstd::cout &lt;&lt; std::endl;\n}\nreturn 0;\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++ geht weiter und der vorgestellte Code &#8222;malt&#8220; nur ein Dreieck aus kleinen Kreuzen auf das Terminal&#8230;<\/p>\n","protected":false},"author":1,"featured_media":543,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[32],"class_list":["post-2642","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding-club","tag-coding-club-peine"],"_links":{"self":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/2642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/comments?post=2642"}],"version-history":[{"count":2,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/2642\/revisions"}],"predecessor-version":[{"id":2901,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/2642\/revisions\/2901"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media\/543"}],"wp:attachment":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media?parent=2642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=2642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=2642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}