Skip to primary content
Skip to secondary content

C For Dummies Blog

Main menu

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

Category Archives: Lesson

Post navigation

← Older posts
Newer posts →

Array Zing Hell

Posted on November 23, 2013 by dgookin
Reply

An array is a queue of values, all stored as one compact unit with a handy reference method. As you study arrays, especially when you get into pointers, you discover something interesting about the array’s first element.
Continue reading →

Posted in Lesson | Leave a reply

Make a New String On-The-Fly

Posted on November 16, 2013 by dgookin
Reply

Never underestimate the power of the printf() function. It has amazing abilities to format output. And don’t forget about printf()‘s lesser-known cousin, sprintf(). It can do amazing things with strings.
Continue reading →

Posted in Lesson | Leave a reply

Duck-Duck-Goose and Moduluse

Posted on November 9, 2013 by dgookin
Reply

There is no such word as moduluse, but the C language does feature the modulus operator, %. You can employ that operator do count off intervals, which allows you to manipulate information in a consistent and interesting way.
Continue reading →

Posted in Lesson | Leave a reply

Every Other One

Posted on November 2, 2013 by dgookin
Reply

You should be familiar with the C language modulus operator, %. Even if that familiarity is fear or confusion it’s still familiarity.
Continue reading →

Posted in Lesson | 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

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

Post navigation

← Older posts
Newer posts →

Recent Posts

  • Extracting Data Chunks
  • C Blog 13th Anniversary
  • Colorful Data Chunks
  • A Little Bit Off the Sides – Solution
  • Working with 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