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 →

Test Your Formatting Knowledge

Posted on November 1, 2013 by dgookin
Reply

In late September and early October, I wrote a series of lessons on how the various printf() formatting commands are used. Now it’s time to put your skills to the test.
Continue reading →

Posted in Exercise | Leave a reply

Schizoid Operators

Posted on October 26, 2013 by dgookin
Reply

The C language features a host of symbols that take on different meanings depending on how they’re used. Unless you’re careful, these operators’ multiple personalities can confuse the bejeebers out of you.
Continue reading →

Posted in Lesson | Leave a reply

Three Choices

Posted on October 19, 2013 by dgookin
Reply

Either-or decisions are easy. They’re similar to the 1 or 0 of low-level programming: True/False, On/Off, Yes/No. When a third element appears, decision-making becomes more complex. To put it another way: That third element can drive both the programmer and the program crazy.
Continue reading →

Posted in Lesson | Leave a reply

Conversion Character Mania: The Rest

Posted on October 12, 2013 by dgookin
Reply

I don’t think I’ve ever seen the full lot of printf() conversion characters explained in any detail. This lesson is the last in a series of my attempt to do just that.
Continue reading →

Posted in Lesson | Leave a reply

Conversion Character Mania: Text Output

Posted on October 5, 2013 by dgookin
Reply

The printf() function’s conversion characters %s and %c seem to be rather straightforward. Or are they?
Continue reading →

Posted in Lesson | Leave a reply

Allow Me to Squeeze In Here…

Posted on October 1, 2013 by dgookin
Reply

When it comes to editing text, the concept of copy and paste is an old one: You select a chunk of text, choose its new location, then paste in the text. The surrounding text jiggles around to make room. Neat and tidy.
Continue reading →

Posted in Exercise | Leave a reply

Conversion Character Mania: Floating Point Output

Posted on September 28, 2013 by dgookin
Reply

Perhaps the most complex and bizarre things you can format with printf() conversion characters are floating point numbers. The variety of the options can be overwhelming.
Continue reading →

Posted in Lesson | Leave a reply

Conversion Character Mania: Integer Output

Posted on September 21, 2013 by dgookin
Reply

The printf() function’s power lies in its formatting abilities, specifically the display of values. That power is vast, but the documentation showing how it works really sucks.
Continue reading →

Posted in Lesson | Leave a reply

Conversion Character Abuse

Posted on September 14, 2013 by dgookin
Reply

The printf() function is most concerned with getting the number of conversion characters — the % placeholders — to match the number of variables specified. Beyond that, it’s rather ambivalent as to whether the types match properly.
Continue reading →

Posted in Lesson | Leave a reply

The C Variable Myth

Posted on September 7, 2013 by dgookin
Reply

A variable in C is a myth. Oh, yeah, it’s a location in memory. That’s pretty much it. After declaring the variable, the compiler — and you, the programmer — pretty much rely upon faith that the variable works and can actually be useful.
Continue reading →

Posted in Lesson | Leave a reply

Post navigation

← Older posts
Newer posts →

Recent Posts

  • Pointers to Multi-Dimension Arrays
  • Obtaining the Averages
  • Extracting Data Chunks
  • C Blog 13th Anniversary
  • Colorful Data Chunks

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