{"id":3049,"date":"2018-04-21T00:01:21","date_gmt":"2018-04-21T07:01:21","guid":{"rendered":"http:\/\/c-for-dummies.com\/blog\/?p=3049"},"modified":"2018-04-14T09:25:24","modified_gmt":"2018-04-14T16:25:24","slug":"c-blog-5th-anniversary","status":"publish","type":"post","link":"https:\/\/c-for-dummies.com\/blog\/?p=3049","title":{"rendered":"C Blog 5th Anniversary"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/c-for-dummies.com\/blog\/wp-content\/uploads\/2018\/04\/C-blog-5th-anniversary.png\" alt=\"5th Anniversary\" width=\"250\" height=\"208\" class=\"alignnone size-full wp-image-3053\" \/><\/p>\n<p>Five years (plus eight days) ago, this blog went public with its <a href=\"http:\/\/c-for-dummies.com\/blog\/?p=1\">first post<\/a>. It was several months before the companion book, <em>Beginning Programming with C For Dummies<\/em> appeared, but I wanted the blog to be well-stocked with posts for those first, eager readers.<br \/>\n<!--more--><br \/>\nThis website, c-for-dummies.com, is far older than the blog. I first hosted this site back in 1997. It was a companion to the two-volume set, <em>C For Dummies<\/em>, shown in Figure 1. Historically, this is the only two-volume <em>For Dummies<\/em> title and also the longest single title at over 1,000 pages. The publisher promised me that they&#8217;d never do that again!<\/p>\n<div id=\"attachment_3055\" style=\"width: 516px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3055\" src=\"http:\/\/c-for-dummies.com\/blog\/wp-content\/uploads\/2018\/04\/cvols1-2.png\" alt=\"\" width=\"506\" height=\"300\" class=\"size-full wp-image-3055\" srcset=\"https:\/\/c-for-dummies.com\/blog\/wp-content\/uploads\/2018\/04\/cvols1-2.png 506w, https:\/\/c-for-dummies.com\/blog\/wp-content\/uploads\/2018\/04\/cvols1-2-300x178.png 300w, https:\/\/c-for-dummies.com\/blog\/wp-content\/uploads\/2018\/04\/cvols1-2-500x296.png 500w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><p id=\"caption-attachment-3055\" class=\"wp-caption-text\">Figure 1. The first <em>C For Dummies<\/em> covered a two-volume set; Vol. I (1994), Vol. II (1997).<\/p><\/div>\n<p>The volumes were necessary because I wanted to cover C in gentle, measured pace that would appeal to beginners. It took three years to finish Volume II because the publisher pulled me off the <em>C For Dummies<\/em> project to work on other books.<\/p>\n<p>When it came time for the C99 update, the publisher opted for a &#8220;thinner&#8221; book. My efforts resulted in the 800+ page-long <em>C All-In-One Desk Reference For Dummies<\/em>, Figure 2. This title remains the most popular, though it&#8217;s pretty dated and has a hefty errata.<\/p>\n<div id=\"attachment_3056\" style=\"width: 248px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3056\" src=\"http:\/\/c-for-dummies.com\/blog\/wp-content\/uploads\/2018\/04\/caio.png\" alt=\"\" width=\"238\" height=\"300\" class=\"size-full wp-image-3056\" \/><p id=\"caption-attachment-3056\" class=\"wp-caption-text\">Figure 2. This C title remains the most popular, despite being dated. (2004)<\/p><\/div>\n<p>At the same time as the <em>All-In-One<\/em> came out, the publisher wanted me to write and update to the original two-volume set, <em>C For Dummies<\/em>, which would move at a slower pace. That book, shown in Figure 3, is only 380 pages, so it leaves out a lot of the C language. I put in my best, but I&#8217;m not pleased with the results because the book omits a lot C.<\/p>\n<div id=\"attachment_3057\" style=\"width: 249px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3057\" src=\"http:\/\/c-for-dummies.com\/blog\/wp-content\/uploads\/2018\/04\/c2nd.png\" alt=\"\" width=\"239\" height=\"300\" class=\"size-full wp-image-3057\" \/><p id=\"caption-attachment-3057\" class=\"wp-caption-text\">Figure 2. The &#8220;second edition&#8221; of <em>C For Dummies<\/em> is in reference to the first, two-volume set. (2004)<\/p><\/div>\n<p>During this time, the website supported the books with occasional updates and bonus material. The site remained rather static, however. I wanted to do more frequent updates, but the site lacked any form of content management.<\/p>\n<p>For the C11 update, I was given the opportunity to write a new C language <em>For Dummies<\/em> title, which became <em>Beginning Programming with C For Dummies<\/em> (2013). This is the current title, and I desired to tie it in tightly with this website: I created answers to exercises for this site, along with comments and updates. I also opted to use WordPress to host a blog. I would update it weekly with Lessons and monthly with Exercises and have been doing so successfully for five years now. That&#8217;s a total of 367 posts for almost 180,000 words of bonus material.<\/p>\n<p>For this, the anniversary Lesson, I&#8217;ve concocted an attempt at obfuscated C. I enjoyed running programs like this when I first learned programming. Have fun!<\/p>\n<pre class=\"screen\">\r\n#include &lt;stdio.h&gt;\r\n\r\nint main()\r\n{\r\n    int m[] = {\r\n        0x2821, 0x3030, 0x3900, 0x212E, 0x2E29,\r\n        0x3625, 0x3233, 0x2132, 0x3901, 0x0000\r\n    };\r\n    int x = 0;\r\n\r\n    while(m[x])\r\n    {\r\n        printf(\"%c%c\",\r\n                (m[x] &gt;&gt; 8) + 32,\r\n                (m[x] &amp; 0x00FF) + 32\r\n              );\r\n        x++;\r\n    }\r\n    putchar('\\n');\r\n\r\n    return(0);\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This post marks five years of weekly C blog Lessons and monthly Exercises. <a href=\"https:\/\/c-for-dummies.com\/blog\/?p=3049\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3049","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3049"}],"version-history":[{"count":5,"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3049\/revisions"}],"predecessor-version":[{"id":3069,"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3049\/revisions\/3069"}],"wp:attachment":[{"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c-for-dummies.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}