Did you know that GCC case values can have ranges? I certainly didn't.
This time, Andrei discloses a little known extension to the switch ...Read More
C uses the static keyword for two completely separate purposes simultaneously. In this week's post, Andrei will continue his discussion of variable visibility (scope), look at function scope, and how to limit scope to a single file, using the static keyword.
It's not as shocking as you might imagine, unless you let go.Read More
A lot of people have problems understanding the concept of scope in C programs. Scope defines the visibility of the identifiers in your program.
This week Andrei tackles local and global variables in part 1 of this post on Scope.Read More
Look, if I give you a bunch of stuff that all have to be true, and the first one is false, I'm not going to waste my time checking them all. It's just the way I roll.
This week Andrei looks at shortcutting in conditionals.Read More
This weekend, Andrei went to a huge kite festival in Swift Current, Saskatchewan, and really didn't have a lot of time to come up with a huge post.
Instead, this week, he writes about how the C language handles allocating space for enums.Read More
Wait, what? Andrei finally wrote the long awaited bit-manipulation post? Yes, it's true.
Click through to learn about &, |, ~, and even ^. When would you use these things? And find out what is due for homework this week.Read More