Skip to primary content
Skip to secondary content

C For Dummies Blog

Main menu

  • C For Dummies (home)
  • History
  • Series
  • Supplemental
  • Blog Miscellany

Post navigation

← Older posts
Newer posts →

Planting a Binary Tree

Posted on May 31, 2025 by dgookin
Reply

Tree structures are yet another way to organize data. They’re similar to a linked list, but with the data organized by value into a series of branches and leaves. OMG! It’s like a tree!
Continue reading →

Posted in Lesson | Leave a reply

Outputting a Table of Math Stuff

Posted on May 24, 2025 by dgookin
3

Though I’m admittedly not good at math (at least according to my grades in school), I enjoy playing with math stuff on the computer. Programming allows me to mess with numbers and values without the risk of that ugly red mark and the need to wonder how a D or an F on my transcript affects my overall GPA.
Continue reading →

Posted in Lesson | 3 Replies

To #include or not to #include

Posted on May 17, 2025 by dgookin
6

I had a reader offer me a puzzle the other day. His code ran well without the #include directive and he wondered why. I did, too.
Continue reading →

Posted in Lesson | 6 Replies

Numbers Complex and Imaginary

Posted on May 10, 2025 by dgookin
4

Your C programs aren’t meant to suffer with an inability to handle values such as the square root of -1, the imaginary number i. No, you can easily manage such mathematical mysteries, making rare the possibility of a -nan result, as shown in last week’s Lesson.
Continue reading →

Posted in Lesson | 4 Replies

Formatting a Series for Output – Solution

Posted on May 8, 2025 by dgookin
Reply

The challenge for this month’s Exercise is to output a series of numbers, 1 through 10, and to ensure that the final number doesn’t look dorky. I’m certain that’s what I asked for.
Continue reading →

Posted in Solution | Leave a reply

The sqrt(-1.0)

Posted on May 3, 2025 by dgookin
4

The four-letter word that made me avoid computers and programming for far too long is math.
Continue reading →

Posted in Lesson | 4 Replies

Formatting a Series for Output

Posted on May 1, 2025 by dgookin
3

Difficulty: ★ ★ ☆ ☆

Here is an issue that crops up often in programming, specifically when outputting data in a series: How do you separate items in the series and not make the last item look dorky? It’s tricky.
Continue reading →

Posted in Exercise | 3 Replies

Silicon Valley Encryption, Part III

Posted on April 26, 2025 by dgookin
7

My attempt to de-obfuscate the easter egg from the HBO series Silicon Valley didn’t help in my efforts to reverse engineer the code. I got close, but I just can’t obtain that first (or final) value.
Continue reading →

Posted in Lesson | 7 Replies

Silicon Valley Encryption, Part II

Posted on April 19, 2025 by dgookin
8

When Alexander faced the challenge of untangling the Gordian Knot, he just sliced it with his sword. Brilliant. Alas, untangling obfuscated C code takes more than a swift swipe of a blade.
Continue reading →

Posted in Lesson | 8 Replies

C Blog 12th Anniversary

Posted on April 13, 2025 by dgookin
5


Twelve years ago today, this blog had its first post. It’s been run consistently since, with new Lessons posted every Saturday and a new Exercise posted on the first of each month.
Continue reading →

Posted in Uncategorized | 5 Replies

Post navigation

← Older posts
Newer posts →

Recent Posts

  • Obtaining the Averages
  • Extracting Data Chunks
  • C Blog 13th Anniversary
  • Colorful Data Chunks
  • A Little Bit Off the Sides – Solution

Recent Comments

  • dgookin on C Blog 13th Anniversary
  • M.Stumpfl on C Blog 13th Anniversary
  • Chris Webb on C Blog 13th Anniversary
  • M.Stumpfl on A Little Bit Off the Sides – Solution
  • dgookin on A Little Bit Off the Sides – Solution

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 1997-2026 by QPBC.
All rights reserved

Proudly powered by WordPress